react-mui-form-validator 1.5.7 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Readme.md CHANGED
@@ -1,4 +1,4 @@
1
- ## Validation component for material-ui forms
1
+ ## Validation component for MUI forms
2
2
 
3
3
  [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT)
4
4
 
@@ -13,8 +13,6 @@ npm install react-mui-form-validator
13
13
 
14
14
  Some rules can accept extra parameter, example:
15
15
 
16
- TextField
17
-
18
16
  ```javascript
19
17
  <MuiTextField
20
18
  {...someProps}
@@ -47,10 +45,7 @@ export default function App(props: any) {
47
45
  return (
48
46
  <div>
49
47
  <h3>Example Sign In</h3>
50
- <MuiForm
51
- onSubmit={handleSubmit}
52
- onError={(errors: any) => console.log(errors)}
53
- >
48
+ <MuiForm onSubmit={handleSubmit}>
54
49
  <MuiTextField
55
50
  name="email"
56
51
  label="Email"
@@ -70,3 +65,7 @@ export default function App(props: any) {
70
65
  );
71
66
  }
72
67
  ```
68
+
69
+ ## Authors
70
+
71
+ - [@blencm](https://www.github.com/blencm)