Class

StyledSwitch

StyledSwitch(props) → {React.ReactElement}

Constructor

# new StyledSwitch(props) → {React.ReactElement}

Overview

The Switch component from Material-UI library with custom styling. For full documentation check out Material-UI docs on Switch.
Style was taken from this tutorial with some changes.
Parameters:
Name Type Description
props Object

Any other props will be forwarded to the Switch component.

View Source Utils/Inputs/StyledSwitch.js, line 60

React.ReactElement