@firstfeb/input

1.0.64 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @firstfeb/input

Weekly Downloads

7

Version

1.0.64

License

No Licence

Unpacked Size

331 kB

Total Files

4

Last publish

Collaborators

  • tobias.rahm