Input
type InputProps = ComponentProps<typeof Input>;| Prop | Type | Default Value | Description |
|---|---|---|---|
| className | string | undefined | The CSS class name for styling the button. |
| value | string | '' | The current value of the input. |
| onChange | (event: React.ChangeEvent<HTMLInputElement>) => void | undefined | A callback function to handle input value changes. |
| placeholder | string | undefined | A short hint that describes the expected input. |
| disabled | boolean | false | If true, the input will be disabled and cannot be interacted with. |
| required | boolean | false | If true, the input must be filled out before submitting a form. |
| maxLength | number | undefined | The maximum number of characters allowed in the input. |
| type | 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'text' | The type of input to render (e.g., text, password, email, etc.). |