diff options
author | Hailey <me@haileyok.com> | 2024-04-03 18:05:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 18:05:03 -0700 |
commit | 7fb117d213149dfee9d0e79292b267b3cd5bde0e (patch) | |
tree | 74910683224f4d7fd7d660888ef36c13c3fca993 /modules/react-native-ui-text-view/src/index.tsx | |
parent | a356b1be1a08814766ae9deadd7b8467a35feb0e (diff) | |
download | voidsky-7fb117d213149dfee9d0e79292b267b3cd5bde0e.tar.zst |
Upgrade `UITextView` to latest (#3090)
* uitextview use library w/ fixes bump bump multiple uitextview fixes * bump * update to latest * cleanup
Diffstat (limited to 'modules/react-native-ui-text-view/src/index.tsx')
-rw-r--r-- | modules/react-native-ui-text-view/src/index.tsx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/modules/react-native-ui-text-view/src/index.tsx b/modules/react-native-ui-text-view/src/index.tsx deleted file mode 100644 index d5bde136f..000000000 --- a/modules/react-native-ui-text-view/src/index.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import { - requireNativeComponent, - UIManager, - Platform, - type ViewStyle, - TextProps, -} from 'react-native' - -const LINKING_ERROR = - `The package 'react-native-ui-text-view' doesn't seem to be linked. Make sure: \n\n` + - Platform.select({ios: "- You have run 'pod install'\n", default: ''}) + - '- You rebuilt the app after installing the package\n' + - '- You are not using Expo Go\n' - -export interface RNUITextViewProps extends TextProps { - children: React.ReactNode - style: ViewStyle[] -} - -export interface RNUITextViewChildProps extends TextProps { - text: string - onTextPress?: (...args: any[]) => void - onTextLongPress?: (...args: any[]) => void -} - -export const RNUITextView = - UIManager.getViewManagerConfig && - UIManager.getViewManagerConfig('RNUITextView') != null - ? requireNativeComponent<RNUITextViewProps>('RNUITextView') - : () => { - throw new Error(LINKING_ERROR) - } - -export const RNUITextViewChild = - UIManager.getViewManagerConfig && - UIManager.getViewManagerConfig('RNUITextViewChild') != null - ? requireNativeComponent<RNUITextViewChildProps>('RNUITextViewChild') - : () => { - throw new Error(LINKING_ERROR) - } - -export * from './UITextView' |