diff --git a/flow/react-navigation.js b/flow/react-navigation.js index 65a4ef848c..f191741047 100644 --- a/flow/react-navigation.js +++ b/flow/react-navigation.js @@ -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,