grahammendick / navigation

Scene-Based Navigation for React and React Native
https://grahammendick.github.io/navigation/
Apache License 2.0
571 stars 40 forks source link

Supported Drawer Component (Android) #793

Closed grahammendick closed 1 month ago

grahammendick commented 1 month ago

The Drawer Component replaces React Native's DrawerLayoutAndroid,

<Drawer view={<View />}>
  <ScrollView />
</Drawer>

Inherited from NavigationView to get predictive back (although there's a fix waiting on the next release of material components).

Hooked up the NavigationBar to the Drawer to get the hamburger icon and toggle. Hooked up the NavigationBar to the ActionBar to get the arrow icon and back.