@yussan/react-form-manager
Version:
React form validator based on prop.
82 lines (61 loc) • 2.54 kB
Markdown
[](https://travis-ci.org/idmore/react-form-master)
[](https://www.npmjs.com/package/react-form-master)
# [work in progress] react-form-master
Generate and validate React from based on props.
## Preview
**Code**
```
<Input
label='Your email'
required={true}
type='email'
name='email'
max={20}
min={5}
placeholder='please input your email'
changeState={(obj) => this.setState(obj)}
value={this.state.email}
validation={this.state.email_validation || {}}
/>
```
**View**

## Feature
- validation based on props
- 100% customizable css
- support standar http attributes
## Available at NPM
<a target="_blank" href="https://www.npmjs.com/package/idmore-react-form-validator">Id More React Form Validator at NPM</a>
**Instalation**
```
npm install idmore-react-form-validator
```
## Documentations
Please follow [this link](https://github.com/idmore/idmore-react-form-validator/blob/master/docs/index.md)
## Contributions
### Progress
**trello**
<a target="_blank" href="https://trello.com/b/sD2C5Gh3">https://trello.com/b/sD2C5Gh3</a>
**github**
- If find some bug / request new features, just created new issues in <a href="https://github.com/idmore/idmore-react-form-validator/issues">github issues link</a>
- If you are a developer, let's develop this module together, this module is open source licensed. Let fork and solve the problem
### Development
**dev builder**
We are using prepack, <a href="https://prepack.io/" target="_blank">read more Prepack</a>
Build and watch source change
```
npm run dev:watch
```
or just to build
```
npm run dev:build
```
### Production
Build and release new version to NPM
```
npm publish
```
or just to build
```
npm run prod:build
```