Drawer - Keep React
Table of Contents#
Default Drawer#
The Default Drawer component showcases a simple content inside the drawer.
Drawer Position#
You can position the drawer in a specific direction, such as left
, right
, top
, or bottom
.
API Reference#
Here is a list of the props that you can pass to the drawer component:
Property | Description | Type | Default |
---|---|---|---|
isOpen | Drawer show or not? | string | false |
position | Drawer position | left top right bottom | bottom |
onOpenChange | setState function | Function | None |