diff --git a/src/components/TextInput/TextInput.tsx b/src/components/TextInput/TextInput.tsx index cfed877648..55546af77c 100644 --- a/src/components/TextInput/TextInput.tsx +++ b/src/components/TextInput/TextInput.tsx @@ -4,6 +4,8 @@ import { TextInput as NativeTextInput, Platform, LayoutChangeEvent, + StyleProp, + TextStyle, } from 'react-native'; import TextInputOutlined from './TextInputOutlined'; @@ -109,7 +111,7 @@ export type TextInputProps = React.ComponentPropsWithRef< * Pass `paddingHorizontal` to modify horizontal padding. * This can be used to get MD Guidelines v1 TextInput look. */ - style?: any; + style?: StyleProp; /** * @optional */