Skip to content

Commit 959a56d

Browse files
gaykovvonovak
authored andcommitted
Fix flow typing for renderVisibleButtons (#41)
1 parent de19c21 commit 959a56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HeaderButtons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class HeaderButtons extends React.Component<HeaderButtonsProps> {
6868
return this.props.left ? styles.extraEdgeMarginOnLeft : styles.extraEdgeMarginOnRight;
6969
}
7070

71-
renderVisibleButtons(visibleButtons: Array<React.Element<*>>) {
71+
renderVisibleButtons(visibleButtons: Array<React.Element<*>>): Array<React.Element<*>> {
7272
return visibleButtons.map(btn => {
7373
const {
7474
props: { title },

0 commit comments

Comments
 (0)