about summary refs log tree commit diff
path: root/src/view/com/util/Text.tsx
blob: acf7589e0e350c3825327f41c227270064c431bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import React from 'react'
import {Text as RNText, TextProps} from 'react-native'
import {s} from '../../lib/styles'

export function Text({
  children,
  style,
  ...props
}: React.PropsWithChildren<TextProps>) {
  return (
    <RNText style={[s.black, style]} {...props}>
      {children}
    </RNText>
  )
}