Skip to content
  • Android
  • iOS
  • Web

useNDrawer

Open, close or read the state of a containing drawer.

Engine API useNDrawernayan-ui/components

Live examples

Example.tsx

Navigation

Parameters

This hook takes no parameters.

Return value

useNDrawer return value
NameTypeDetails
isOpenboolean
open() => void
close() => void
toggle() => void

Tags