formsy-semantic-ui-react
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "formsy-semantic-ui-react", | ||
"version" : "0.1.0", | ||
"version" : "0.1.1", | ||
"description": "Formsy wrappers for Semantic-Ui-React form elements", | ||
@@ -28,4 +28,4 @@ "repository" : { | ||
"semantic-ui-react": "^0.63.6", | ||
"react": "^15.4.2", | ||
"react-dom": "^15.4.2" | ||
"react": "^0.14.0 || ^15.0.0", | ||
"react-dom": "^0.14.0 || ^15.0.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
Lets you create [formsy-react](https://github.com/christianalfoni/formsy-react/blob/master/API.md#formnovalidate) forms with [Semantic-Ui-React](https://github.com/Semantic-Org/Semantic-UI-React) components. | ||
Lets you create [formsy-react](https://github.com/christianalfoni/formsy-react) forms with [Semantic-Ui-React](https://github.com/Semantic-Org/Semantic-UI-React) components. | ||
@@ -32,5 +32,9 @@ ## Installation | ||
```js | ||
import { Form } from 'formsy-rect'; | ||
import { Form } from 'formsy-react'; | ||
``` | ||
## validation | ||
For more information on validation, check out [Formsy-React's Dcoumentaion](https://github.com/christianalfoni/formsy-react/blob/master/API.md) | ||
```jsx | ||
@@ -57,7 +61,7 @@ <Form | ||
### Errors | ||
### Displaying Error Messages | ||
You need to pass an element through the ``` errorLabel ``` prop. | ||
To display error messages, pass an element through the ``` errorLabel ``` prop. | ||
Example: | ||
Example: You can display Semaintic-UI-React's ``` <Label/> ``` compnent: | ||
@@ -70,4 +74,4 @@ ```jsx | ||
``` | ||
You can also pass in a custom component and style it as you wish. | ||
You can also pass in a custom component with the desired styles. | ||
License: [MIT](/LICENSE) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62925
75