Merge pull request #32892 from geriux/feature/react-native-tab-view-new-prop

[react-native-tab-view] Added useNativeDriver prop
This commit is contained in:
Armando Aguirre
2019-02-08 13:24:40 -08:00
committed by GitHub
+2
View File
@@ -3,6 +3,7 @@
// Definitions by: Kalle Ott <https://github.com/kaoDev>
// Kyle Roach <https://github.com/iRoachie>
// Tim Wang <https://github.com/timwangdev>
// Gerardo Pacheco <https://github.com/geriux>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { PureComponent, ReactNode, ComponentType } from 'react'
@@ -214,6 +215,7 @@ export type TabBarProps<T extends RouteBase = RouteBase> = SceneRendererProps<
indicatorStyle?: StyleProp<ViewStyle>
labelStyle?: StyleProp<ViewStyle>
style?: StyleProp<ViewStyle>
useNativeDriver?: boolean;
}
export class TabBar<T extends Route = Route> extends PureComponent<TabBarProps<T>> {}