Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<code>
import Switch from '@pluralsight/ps-design-system-switch'
</code>
false,
'shows a toggled-on switch'
]),
PropTypes.row([
'color',
PropTypes.union(Switch.colors),
null,
<code>orange</code>,
<span>
track color (from <code>Switch.colors</code>)
</span>
]),
PropTypes.row([
'disabled',
'boolean',
null,
<code>false</code>,
'standard input disable flag'
]),
PropTypes.row([
'error',
'boolean',
Size
<p>Switches come in two sizes.</p>
`