This component should only be rendered inside a _layout.tsx
file, where it will serve as the location that children will render for routes below the layout.
Drawer is simply a React Navigation Drawer view and accepts the same props as React Navigation.
import { Drawer } from 'one'
export default function Layout() {
return (
<Drawer />
)
}
Edit this page on GitHub.