Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'disabled',
'boolean',
null,
<code>false</code>,
'standard input disable flag'
]),
PropTypes.row([
'error',
'boolean',
null,
<code>false</code>,
'error state flag'
]),
PropTypes.row([
'labelAlign',
PropTypes.union(Switch.labelAligns),
null,
<code>right</code>,
<span>
label position (from <code>Switch.labelAligns</code>)
</span>
]),
PropTypes.row([
'size',
PropTypes.union(Switch.sizes),
null,
<code>large</code>,
<span>
switch size (from <code>Switch.sizes</code>)
</span>
])
]}