Loading...
Installation
Props
Prop | Type | Default | Description |
---|---|---|---|
isOpen | boolean | false | Whether the drawer is open |
onClose | function | - | Callback function when drawer is closed |
children | ReactNode | - | Content to display inside the drawer |
position | "left" | "right" | "right" | Position of the drawer |