mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
Adding missing getButtonComponent props to flow (#5648)
This commit is contained in:
committed by
Brent Vatne
parent
71cb16dc7f
commit
8788dd77b4
2
flow/react-navigation.js
vendored
2
flow/react-navigation.js
vendored
@@ -1195,6 +1195,7 @@ declare module 'react-navigation' {
|
||||
jumpToIndex: (index: number) => void,
|
||||
}) => void,
|
||||
renderIcon: (scene: TabScene) => React$Element<*>,
|
||||
getButtonComponent: (scene: TabScene) => React$Element<*>,
|
||||
labelStyle?: TextStyleProp,
|
||||
iconStyle?: ViewStyleProp,
|
||||
};
|
||||
@@ -1223,6 +1224,7 @@ declare module 'react-navigation' {
|
||||
}) => void,
|
||||
getTestIDProps: (scene: TabScene) => (scene: TabScene) => any,
|
||||
renderIcon: (scene: TabScene) => React$Node,
|
||||
getButtonComponent: (scene: TabScene) => React$Node,
|
||||
style?: ViewStyleProp,
|
||||
animateStyle?: ViewStyleProp,
|
||||
labelStyle?: TextStyleProp,
|
||||
|
||||
Reference in New Issue
Block a user