Skip to content

Commit 8788dd7

Browse files
Fausto95brentvatne
authored andcommitted
Adding missing getButtonComponent props to flow (react-navigation#5648)
1 parent 71cb16d commit 8788dd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flow/react-navigation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,7 @@ declare module 'react-navigation' {
11951195
jumpToIndex: (index: number) => void,
11961196
}) => void,
11971197
renderIcon: (scene: TabScene) => React$Element<*>,
1198+
getButtonComponent: (scene: TabScene) => React$Element<*>,
11981199
labelStyle?: TextStyleProp,
11991200
iconStyle?: ViewStyleProp,
12001201
};
@@ -1223,6 +1224,7 @@ declare module 'react-navigation' {
12231224
}) => void,
12241225
getTestIDProps: (scene: TabScene) => (scene: TabScene) => any,
12251226
renderIcon: (scene: TabScene) => React$Node,
1227+
getButtonComponent: (scene: TabScene) => React$Node,
12261228
style?: ViewStyleProp,
12271229
animateStyle?: ViewStyleProp,
12281230
labelStyle?: TextStyleProp,

0 commit comments

Comments
 (0)