AffixedInput
AffixedInput
A component for displaying an input with a prefix and/or a suffix.
Example
<AffixedInput
{...field}
type="number"
suffix="%"
value={field.value}
onChange={e => field.onChange(e.target.valueAsNumber)}
/>
Signature
function AffixedInput(props: Readonly<AffixedInputProps>): void
Parameters
props
parameter
Readonly<AffixedInputProps>