Input
Input is a form component that allows users to enter data. Field is an input field with label, desscription and error fields.
Preview
Properties
- Name
hasError
- Type
- boolean
- Description
Whether the input has an error.
- Name
icon
- Type
- React.ReactElement
- Description
An icon to be displayed on the right side of the input.
- Name
inputSize
- Type
- 0
- Description
The size of the input.
inputSize
icon
hasError
hasError is a boolean that indicates whether the input has an error.
children
children can be passed to the input to add additional elements to the input. Example: a button.
TextArea
TextArea is a textarea input.