1.0.13 • Published 9 years ago
essence-input v1.0.13
Essence Input - Input component
Options:
- placeholder:
stringfor a placeholder text - label:
stringfor a label text which will float above the input when text is typed - hint:
stringfor a hint text which will show below the input as an informative text - counter:
integerfor limit the input value length, also it will show the current / maximum value length - disabled: prop for disabling the input
NOTE: all props will be transferred from Input component
How to use
import Input from 'essence-input';
<Input name={'input'} placeholder='Standard input' classes={'has-success'}/>
<Input name={'input'} placeholder='Counter input' classes={'has-error'} counter={50}/>
<Input name={'input'} label='This label will float' classes={'has-success'}/>
<Input name={'input'} disabled={true} placeholder='Disabled input' classes={'has-success'}/>
<Input name={'textarea'} type={'textarea'} placeholder='Textarea' classes={'has-success'}/>1.0.13
9 years ago
1.0.12
10 years ago
1.0.11
10 years ago
1.0.10
10 years ago
1.0.9
10 years ago
1.0.8
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago