Home > react-native-material-kit > Switch
Switch class
The Switch
component.
Signature:
export default class Switch extends Component<SwitchProps, SwitchState>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(props) | Constructs a new instance of the Switch class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
defaultProps | static |
SwitchProps |
Default props |
Methods
Method | Modifiers | Description |
---|---|---|
render() | ||
UNSAFE_componentWillMount() | ||
UNSAFE_componentWillReceiveProps(nextProps) |
Remarks
Which is made up of a Track
and a .
See Guideline & MDL implementation