React Alegrify UI
Input
Variants
Default
<Input
placeholder="Your name..."
value=""
onValueChange={() => {}}
/>
Disabled
<Input
placeholder="Your name..."
value=""
onValueChange={() => {}}
disabled
/>
Error
<Input
placeholder="Your name..."
value=""
onValueChange={() => {}}
error
/>
Multiline
<Input
placeholder="Your name..."
multiline
value=""
onValueChange={() => {}}
/>
Properties
Property | Type | Default |
---|---|---|
value* | string | |
onValueChange* | func | |
className | string | |
type | string | text |
placeholder | string | |
full | bool | |
multiline | bool | |
rows | number | |
required | bool | |
disabled | bool | |
id | string | |
name | string | |
onKeyUp | func | |
onKeyDown | func | |
onFocus | func | |
onBlur | func | |
dataTest | string | |
dataTestId | string |