Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'href',
'string',
null,
null,
'url of resource (renders as anchor)'
]),
PropTypes.row([
'icon',
<code>*Icon</code>,
null,
null,
'Icon component'
]),
PropTypes.row([
'iconAlign',
PropTypes.union(Button.iconAligns),
null,
<code>left</code>,
<span>
horizontal icon placement (from <code>Button.iconAligns</code>)
</span>
]),
PropTypes.row([
'loading',
'boolean',
null,
<code>false</code>,
'disables button and shows spinner'
]),
PropTypes.row([
'size',
PropTypes.union(Button.sizes),