Skip to content

Commit c727b9d

Browse files
committed
update readme
1 parent 1a3a479 commit c727b9d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# React form validation
22

3-
### A simple way to validate your forms in react.
3+
## A simple way to validate forms in react.
44

5-
## Example usage
5+
### Example usage
66

77
### Model your state
88

@@ -25,7 +25,7 @@ const initialValue = {
2525

2626
### Create a validator
2727

28-
Note: Validator key should be the same in the model that you created above. If it doesn't this will not recognize
28+
Note: Validator key should be the same in the model that you created above. If it doesn't, it will not recognize the validation.
2929

3030
```
3131
const validator = {
@@ -66,5 +66,3 @@ const { state, handleOnChange handleOnSubmit, disable } = useForm(
6666
Working demo here: https://codesandbox.io/s/silent-rgb-0t9rq
6767

6868
Give me a star if you like it 😃.
69-
70-
Thanks!!!

0 commit comments

Comments
 (0)