diff --git a/types/react-native-scrollable-tab-view/index.d.ts b/types/react-native-scrollable-tab-view/index.d.ts index d992012856..2d3061594e 100644 --- a/types/react-native-scrollable-tab-view/index.d.ts +++ b/types/react-native-scrollable-tab-view/index.d.ts @@ -6,7 +6,7 @@ // TypeScript Version: 2.8 import * as React from 'react'; -import { Animated, ScrollViewProps, ViewStyle, TextStyle } from 'react-native'; +import { Animated, ScrollViewProps, ViewStyle, TextStyle, StyleProp } from 'react-native'; export interface ScrollableTabViewProperties extends React.Props { /** @@ -57,7 +57,7 @@ export interface ScrollableTabViewProperties extends React.Props; /** * color of the default tab bar's background, defaults to white @@ -77,12 +77,12 @@ export interface ScrollableTabViewProperties extends React.Props; /** * style (View.propTypes.style) */ - style?: ViewStyle; + style?: StyleProp; /** * props that are applied to root ScrollView/ViewPagerAndroid.