- Android
- iOS
- Web
useNDrawer
Open, close or read the state of a containing drawer.
Engine API useNDrawernayan-ui/components
Example.tsx
This hook takes no parameters.
| Name | Type | Details |
|---|---|---|
| isOpen | boolean | |
| open | () => void | |
| close | () => void | |
| toggle | () => void |