Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'error',
'boolean',
null,
<code>false</code>,
'error state flag'
]),
PropTypes.row([
'icon',
<code>*Icon</code>,
null,
null,
'Icon component'
]),
PropTypes.row([
'iconAlign',
PropTypes.union(TextInput.iconAligns),
null,
<code>left</code>,
<span>
horizontal icon placement (from <code>TextInput.iconAligns</code>)
</span>
]),
PropTypes.row([
'label',
'string',
null,
null,
'identifying string for input'
]),
PropTypes.row([
'placeholder',
'string',
>
}
target={fieldRef}
>
}
onChange={handleInputChange}
onFocus={handleInputFocus}
ref={{ field: fieldRef, input: inputRef }}
value={innerValue}
/>
)
})