Input
Displays a form input field.
Example
Props
Name | Type | Description |
---|---|---|
inputSize | ?('default' | 'sm') | The input’s size variant. Default to default |
prefixIcon | ?JSX.Element | Add prefix icon to the input |
suffixIcon | ?JSX.Element | Add suffix icon to the input |
onValueChange | ?((value: string) => void) | Fired when the input value is changed |