Wrap Drawer around Router
See original GitHub issueHey there. I am trying to wrap the react-native-side-menu component around the Router, so it is on top and not under the navBar. I really can´t figure out where the right place is to put it and especially how to pass the Router props down/up to the SideMenu Routes. This was my try:
class App extends Component {
render() {
return (
<SideMenu
menu={<Components.Menu/>}
isOpen={false}
>
<Router
firstRoute={{
name: 'LOGIN',
component: Login
}}
headerStyle={{
backgroundColor: 'black',
elevation: 5
}}
backButtonComponent={ Components.BackButton }
/>
</SideMenu>
);
}
}
Now how can i pass toRoute props to Components.Menu?
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (14 by maintainers)
Top Results From Across the Web
The biggest wireless router placement mistake - CNET
Before you declare your router an eyesore and banish it to a basket, read this. ... wrapping them in gift wrap, or putting...
Read more >Making Cabinet Doors Using a Router Table
In this tutorial I am going to show you how I made shaker style drawer fronts using a router table and rail and...
Read more >Router Table Cabinet - Instructables
1. Materials
(1-1/2 sheets) 3/4″ plywood
(1 sheet) 1/2″ plywood
(1 pair) Euro hinges – frameless ½ overlay
(2 pairs) 20” Drawer slides
(4) 3” locking caster ......
Read more >Not so Ordinary Router Cabinet | Popular Woodworking
Wrap up work on the drawer by pinning the drawer bottom to the completed drawer box. Build a Better Door. 1. After completing...
Read more >Lock Miter and Drawer Lock Router Bits [Archive] - Sawmill Creek ...
I'm making a jewerly box using some 1/2" Quarter Sawn Curly Maple and I want to let the grain wrap around real nice...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shakdoesgithub i ended up using react-native-drawer with type overlay. If you want to have the side menu covering the complete side it is opened then you should add the noStatusBar prop to your router…
I tried this and the main view animates to the left, with the navigation bar staying in place. Also got the following warning: