Skip to content

Commit

Permalink
fix: correct content style type (callstack#3822)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak committed Apr 17, 2023
1 parent 130a0fd commit f6bb2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
* Overrides input style
* Example: `paddingLeft`, `backgroundColor`
*/
contentStyle?: StyleProp<ViewStyle>;
contentStyle?: StyleProp<TextStyle>;
/**
* Pass style to override the default style of outlined wrapper.
* Overrides style when mode is set to `outlined`
Expand Down

0 comments on commit f6bb2de

Please sign in to comment.