Merge pull request #33581 from svbutko/patch-1

[react-native-tab-view] Add activeColor and inactiveColor
This commit is contained in:
Gabriela Britto 2019-03-06 09:47:00 -08:00 committed by GitHub
commit eae4310ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,8 @@ export type TabBarProps<T extends RouteBase = RouteBase> = SceneRendererProps<
renderBadge?: (scene: Scene<T>) => ReactNode
onTabPress?: (scene: Scene<T>) => void
onTabLongPress?: (scene: Scene<T>) => void
activeColor?: string
inactiveColor?: string
pressColor?: string
pressOpacity?: number
scrollEnabled?: boolean