Created
December 25, 2018 12:59
-
-
Save vshkl/6cdf2013fcb6c4ac347d8d92b67cbf89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const buttonHamburger = componentId => ({ | |
| id: 'button.Hamburger', | |
| component: { | |
| name: 'component.Hamburger', | |
| passProps: { | |
| onPress: isOpened => Navigation.mergeOptions(componentId, { | |
| sideMenu: { | |
| left: { | |
| visible: isOpened, | |
| }, | |
| }, | |
| }), | |
| }, | |
| }, | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment