Skip to content

Commit

Permalink
Adding missing getButtonComponent props to flow (react-navigation#5648)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fausto95 authored and brentvatne committed Mar 28, 2019
1 parent 71cb16d commit 8788dd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flow/react-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8788dd7

Please sign in to comment.