2021-07-07 11:03:35 +02:00
|
|
|
# react-forms
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
2021-07-07 11:05:33 +02:00
|
|
|
Add this line to your package.json dependencies :
|
|
|
|
|
2021-07-07 11:03:35 +02:00
|
|
|
```bash
|
2021-07-07 11:05:33 +02:00
|
|
|
"react-forms": "git+https://git.bluesquare.io/bluesquare-packages/react-forms.git",
|
2021-07-07 11:03:35 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
import React, { Component } from 'react'
|
|
|
|
|
|
|
|
import MyComponent from 'react-forms'
|
|
|
|
|
|
|
|
class Example extends Component {
|
|
|
|
render () {
|
|
|
|
return (
|
|
|
|
<MyComponent />
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|