diff --git a/example/src/components/TextInput.tsx b/example/src/components/TextInput.tsx index bdf0c01..a8db31f 100644 --- a/example/src/components/TextInput.tsx +++ b/example/src/components/TextInput.tsx @@ -1,12 +1,18 @@ import React from 'react'; -import { TextInput as RNTextInput, StyleSheet, View } from 'react-native'; +import { + TextInput as RNTextInput, + StyleSheet, + View, + type TextInputProps, +} from 'react-native'; -export const TextInput = () => { +export const TextInput = (props: TextInputProps) => { return ( ); diff --git a/example/src/screens/SecondScreen.tsx b/example/src/screens/SecondScreen.tsx index 7c7dbfe..88e9ddf 100644 --- a/example/src/screens/SecondScreen.tsx +++ b/example/src/screens/SecondScreen.tsx @@ -17,6 +17,7 @@ export const SecondScreen = () => { additionalScrollHeight={20} > +