You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option to adjust the space above OverflowMenus (#110)
* Made spaceAboveMenu customizable
* Moved spaceAboveMenu to OverflowMenuContext to allow for multiple different space settings
* Added spaceAboveMenu as props to OverflowMenuProvider
* Removed space before semicolon
* Resolved errors from checks
* Resolved prettier errors
* Added spaceAboveMenu-info to README.md
This is a React context provider needed for `overflowMenuPressHandlerDropdownMenu` to work. If you're not using `overflowMenuPressHandlerDropdownMenu` then you don't need it.
204
204
By default, you need to wrap your root component with it.
205
205
206
+
On Android, `OverflowMenuProvider` accepts an optional `spaceAboveMenu` prop, which can be used to set the distance between the top of the screen and the top of the overflow menu.
207
+
206
208
#### `HeaderButton`
207
209
208
210
You will typically not use `HeaderButton` directly. `HeaderButton` is where all the `onPress`, `title` and Icon-related props meet to render actual button.
0 commit comments