forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1import {Text as RNText} from 'react-native'
2
3type UITextViewProps = React.ComponentProps<typeof RNText> & {
4 dataSet?: Record<string, string | number | undefined>
5 uiTextView?: boolean
6}
7
8export function UITextView({
9 children,
10 dataSet,
11 uiTextView: _uiTextView,
12 ...rest
13}: UITextViewProps) {
14 const textProps = dataSet ? ({...rest, dataSet} as UITextViewProps) : rest
15
16 return <RNText {...textProps}>{children}</RNText>
17}