Skip to content

Commit

Permalink
add demo for sidebarCollapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasgurjar committed Dec 9, 2024
1 parent 374dfbf commit 9aaee1f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ The layout sidebar can be hidden if needed with the `hideNavigation` prop.

{{"demo": "DashboardLayoutSidebarHidden.js", "height": 400, "iframe": true}}

### Toggle sidebar

The sidebar can be toggled if needed with the `sidebarCollapsed` prop.

{{"demo": "DashboardLayoutSidebarCollapsedProp.js", "height": 400, "iframe": true}}

## Full-size content

The layout content can take up the full available area with styles such as `flex: 1` or `height: 100%`.
Expand Down

0 comments on commit 9aaee1f

Please sign in to comment.