29 lines
527 B
Markdown
29 lines
527 B
Markdown
# react-forms
|
|
|
|
> React form components
|
|
|
|
[![NPM](https://img.shields.io/npm/v/react-forms.svg)](https://www.npmjs.com/package/react-forms) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
|
|
|
|
## Install
|
|
|
|
```bash
|
|
npm install --save react-forms
|
|
yarn react-forms
|
|
```
|
|
|
|
## Usage
|
|
|
|
```jsx
|
|
import React, { Component } from 'react'
|
|
|
|
import MyComponent from 'react-forms'
|
|
|
|
class Example extends Component {
|
|
render () {
|
|
return (
|
|
<MyComponent />
|
|
)
|
|
}
|
|
}
|
|
```
|