Toggle
Sidenav.Toggle from the Layout package.
Loading Sidenav.Toggle…
Source code
Waiting for the preview before loading source files · 2 of 2
Properties
Public properties derived from the component’s TypeScript signature.
| Property | Type | Default |
|---|---|---|
collapsedOptionalWhether the desktop sidenav is currently collapsed | boolean | false |
modeOptionalClose controls are used by compact sidenavs; collapse controls by desktop sidenavs | "close" | "collapse" | "collapse" |
onPressOptionalPress handler | (() => void) | — |
customizeOptionalExplicit consumer customization | UiCustomization | — |