@firstfeb/input
v1.0.64
Published
Input component for dynamic input forms
Downloads
17
Readme
Input
Component for displaying dynamic input forms.
Installation
> npm install @firstfeb/input
Usage
<Input ref={this.userForm} type="list" object={{
name: {
type: 'text',
placeholder: 'Your name',
required: true
},
email: {
type: 'email',
placeholder: 'Your email address',
required: true
},
password: {
type: 'password',
placeholder: 'Your password',
required: true
}
}} />
...
this.userForm.validate();
this.userForm.value();
TODO
- Implementation of
this.props.onEnter
- Update the readme
Copyright
Copyright (c) 2019-present First Feb AB
Licence
No licence available. Do not use without the permission of the author.