Input
Useful for allowing users to enter, update and select text.
Props
Prop | Type | Description |
---|---|---|
appearance | default | minimal | negative | positive | The theming to apply |
type | * | The type attribute specifies the type of input |
innerRef | React.RefObject | The ref to apply |
id | String | The id of the input |
name | String | The name of the input |
value | String | The value of the input |
labelText | String | The label text of the input |
placeholder | String | The placeholder of the input |
icon | String | The icon to apply |
mask | Array | The mask to apply |
onChange | Function | A function to be called when the value changes |
ariaLabel | String | The accessibility text (W3C) |
onClick | Function | A function to be called when on click |
Examples
todo