Skip to main content

Module toggle_switch

Module toggle_switch 

Source
Expand description

ToggleSwitch — on/off switch (M-UI.4 / AUT-124).

Renders visual state from checked; does not flip itself. The parent owns the boolean and re-renders with the new value when the callback (omitted in SSR stories) fires.

Structs§

ToggleSwitchProps
Props for the ToggleSwitch component.

Functions§

ToggleSwitch
Required Props