Drawer
Pull-out order drawer with automated line-item rendering
Example
The example below uses the Launcher component to pass in drawer state. You can replace this with your own custom button/action if you'd like.
Drawer.jsx
API
Prop | Description | Type |
| Relative link for the checkout button. |
|
| Nodes to render inside the Drawer's body container. |
|
| The callback function that executes when a user clicks the Drawer's back button. |
|
| Controls the open state of the drawer. |
|
| Relative link for the products button. |
|
| The path (dot notation) to the title within the cart's state. This will default to "Shopping cart" if either |
|
Last updated