Skip to content

Commit

Permalink
update docs about using defaultExpanded in conjunction with expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2523 committed Nov 8, 2023
1 parent 4a99548 commit 3e4ef3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drawer/Drawer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Setting `expandable` allows the drawer to expand to the full size of the viewpor

### Default Expanded

Setting `defaultExpanded` allows the drawer to expand the full size of the viewport by default.

Setting `defaultExpanded` allows the drawer to expand the full size of the viewport by default. This can be used in conjunction with `expandable.` For example if
you want the drawer to be the full width of the viewport but you want to disable the ability to collapse it, you can set `expandable=false` and `defaultExpanded=true`.
### Additional Actions

If additional components are required to be included, pass them as children to the `DrawerFooter`. This example also doesn't have a title or a border on the header, and the background overlay is turned off to allow interaction with outside elements.
Expand Down

0 comments on commit 3e4ef3e

Please sign in to comment.