import * as React from 'react'; import { Text as RNText, TextStyle, StyleProp, StyleSheet } from 'react-native'; import type { Theme } from '../../types'; import { useTheme } from '../../core/theming'; type Props = React.ComponentProps & { style?: StyleProp; theme?: Theme; }; const NativeText = ({ style, theme: overrideTheme, ...rest }: Props) => { const theme = useTheme(overrideTheme); return ( ); }; const styles = StyleSheet.create({ text: { textAlign: 'left', }, }); export default NativeText;