Skip to content

Commit f6bb2de

Browse files
authored
fix: correct content style type (#3822)
1 parent 130a0fd commit f6bb2de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/TextInput/TextInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
149149
* Overrides input style
150150
* Example: `paddingLeft`, `backgroundColor`
151151
*/
152-
contentStyle?: StyleProp<ViewStyle>;
152+
contentStyle?: StyleProp<TextStyle>;
153153
/**
154154
* Pass style to override the default style of outlined wrapper.
155155
* Overrides style when mode is set to `outlined`

0 commit comments

Comments
 (0)