mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
StyleProp<> needs to wrap styling props
This commit is contained in:
+3
-3
@@ -57,7 +57,7 @@ export interface ScrollableTabViewProperties extends React.Props<ScrollableTabVi
|
||||
/**
|
||||
* style of the default tab bar's underline
|
||||
*/
|
||||
tabBarUnderlineStyle?: ViewStyle;
|
||||
tabBarUnderlineStyle?: StyleProp<ViewStyle>;
|
||||
|
||||
/**
|
||||
* color of the default tab bar's background, defaults to white
|
||||
@@ -77,12 +77,12 @@ export interface ScrollableTabViewProperties extends React.Props<ScrollableTabVi
|
||||
/**
|
||||
* additional styles to the tab bar's text
|
||||
*/
|
||||
tabBarTextStyle?: TextStyle;
|
||||
tabBarTextStyle?: StyleProp<TextStyle>;
|
||||
|
||||
/**
|
||||
* style (View.propTypes.style)
|
||||
*/
|
||||
style?: ViewStyle;
|
||||
style?: StyleProp<ViewStyle>;
|
||||
|
||||
/**
|
||||
* props that are applied to root ScrollView/ViewPagerAndroid.
|
||||
|
||||
Reference in New Issue
Block a user