File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ const HiddenItemWrappedTwice = ()=> <HiddenItemWrapped />
224224| ---------------------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------- |
225225| title: string | title for the button, required | |
226226| style?: ViewStyle | style to apply to the touchable element that wraps the text | |
227- | titleStyle?: ViewStyle | style to apply to the text | |
227+ | titleStyle?: TextStyle | style to apply to the text | |
228228| onPress: ?() => any | function to call on press | |
229229| testID?: string | testID to locate view in e2e tests | |
230230| disabled?: boolean | disabled 'item' is greyed out and ` onPress ` is not called on touch | |
Original file line number Diff line number Diff line change 33 GestureResponderEvent ,
44 StyleSheet ,
55 Text ,
6+ TextStyle ,
67 View ,
78 ViewStyle ,
89} from 'react-native' ;
@@ -31,7 +32,7 @@ export type Props = {
3132 * @optional
3233 */
3334 style ?: ViewStyle ;
34- titleStyle ?: ViewStyle ;
35+ titleStyle ?: TextStyle ;
3536 /**
3637 * TestID used for testing purposes
3738 */
You can’t perform that action at this time.
0 commit comments