Constructor
# new CustomSwitch(props) → {React.ReactElement}
Overview
The FormControlLabel from Material-UI library withStyledSwitch
as a control.
For full documentation check out Material-UI docs on
FormControlLabel
and this
tutorial.
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | Any other props will be forwarded to the |
label |
string | The text to be used in an enclosing label element. |
labelClasses |
Object | Override or extend the styles applied to the |
LabelProps |
Object | Props applied to the |
React.ReactElement