From 768e3e8fa79e75df30f18f33682f9e59426ea4e9 Mon Sep 17 00:00:00 2001 From: Rodolphe Lemasquerier Date: Thu, 4 Jan 2024 19:49:20 +0100 Subject: [PATCH] feat: add a disabled text input in second screen for testing --- example/src/components/TextInput.tsx | 10 ++++++++-- example/src/screens/SecondScreen.tsx | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) 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} > +