SlideToggleProps
Props of SlideToggle
Properties
color
color:
string
The color of the toggle switch, applies when not primary
onClick
onClick:
VoidFuncNoParam
Event handler called when the toggle switch is clicked
primary
primary:
boolean
If true, applies the primary styling variant
text
text:
string
The text to display next to the toggle switch