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 />
224
224
| ---------------------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------- |
225
225
| title: string | title for the button, required | |
226
226
| 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 | |
228
228
| onPress: ?() => any | function to call on press | |
229
229
| testID?: string | testID to locate view in e2e tests | |
230
230
| disabled?: boolean | disabled 'item' is greyed out and ` onPress ` is not called on touch | |
Original file line number Diff line number Diff line change 3
3
GestureResponderEvent ,
4
4
StyleSheet ,
5
5
Text ,
6
+ TextStyle ,
6
7
View ,
7
8
ViewStyle ,
8
9
} from 'react-native' ;
@@ -31,7 +32,7 @@ export type Props = {
31
32
* @optional
32
33
*/
33
34
style ?: ViewStyle ;
34
- titleStyle ?: ViewStyle ;
35
+ titleStyle ?: TextStyle ;
35
36
/**
36
37
* TestID used for testing purposes
37
38
*/
You can’t perform that action at this time.
0 commit comments