Components
DrawerProvider

DrawerProvider

Drawer's state provider

Required props

children

Provider Children

type
React.ReactNode
default
null

Optional props

open

Wether the Drawer is open

type
boolean
default
null

onClose

Dispatched on close the Drawer

type
(() => void)
default
null

onOpenChange

Distached on change the value of open

type
((open: boolean) => void)
default
null

dismissible

When false dragging, clicking outside, pressing esc, etc. will not close the drawer. Use this in comination with the open prop, otherwise you won't be able to open/close the drawer.

type
boolean
default
null