Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Add toggle drawer to the Readme #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

haikyuu
Copy link

@haikyuu haikyuu commented Nov 2, 2016

Provide a short explanation on how to toggle the drawer, and provide a simple example.

Provide a short explanation on how to toggle the drawer, and provide a simple example.
@sibelius
Copy link
Contributor

sibelius commented Nov 2, 2016

I would like to put this doc inside a recipe much like avajs docs (https://github.com/avajs/ava#recipes)

what do u think?

@haikyuu
Copy link
Author

haikyuu commented Nov 2, 2016

Yes that would be nice, and it would help with writing the docs one recipe at a time.

I have run into another issue with drawer, i am using a stack navigation like this:

<NavigationProvider context={navigationContext}>
  <StackNavigation initialRoute={router.getRoute('home')}
    defaultRouteConfig={{
      navigationBar: navigationBar,
    }}
   />
</NavigationProvider>

And one of the routes defined in the router is The DrawerLayout. But when i want to toggle the drawer, it gives me Navigator does not exist. What do you think is the problem?

@sibelius
Copy link
Contributor

sibelius commented Nov 2, 2016

I think u should try this: https://gist.github.com/knowbody/ce483742a1761658b767428a0ed35147#modals

to have a top level navigation

@sibelius
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants