Props
| Prop | Type | Default | Description |
|---|---|---|---|
collapseLabel | string | "Collapse sidebar" | Label while the rail is expanded. |
expandLabel | string | "Expand sidebar" | Label while the rail is collapsed, and the icon-only row's accessible name. |
Events
| Event | Payload | Description |
|---|---|---|
toggle | none | The person asked to switch between the two variants. |