https://github.com/co2-git/reacted-form
React Form Component
https://github.com/co2-git/reacted-form
Last synced: about 1 year ago
JSON representation
React Form Component
- Host: GitHub
- URL: https://github.com/co2-git/reacted-form
- Owner: co2-git
- Created: 2016-01-16T05:48:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-16T07:50:08.000Z (over 10 years ago)
- Last Synced: 2025-02-01T16:23:16.347Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
reacted-form
===
Easily write forms in React.
# Install
```bash
npm install -s reacted-form
```
# Usage
Import form from one of your controller:
```js
import React from 'react';
import { Form, Email, Password } from 'reacted-form';
class MyComponent extends React.Component {
submitHandler (e, values) {
myLoginFunction(values.email, values.password):
}
render () {
return (
)
}
}
```