File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,17 @@ npm install typed-react-form
28
28
29
29
## [ Documentation here] ( https://codestix.github.io/typed-react-form/ )
30
30
31
+ ## Typescript demos
32
+
33
+ ### Type-checked field names
34
+ ![ type-checked field names] ( https://github.com/CodeStix/typed-react-form/raw/master/docs/images/demo-example.png )
35
+
36
+ ### Type-checked custom inputs
37
+ ![ type-checked custom inputs] ( https://github.com/CodeStix/typed-react-form/raw/master/docs/images/demo-custom.png )
38
+
39
+ ### Type-checked object/array fields
40
+ ![ type-checked object/array fields] ( https://github.com/CodeStix/typed-react-form/raw/master/docs/images/demo-objectfield.png )
41
+
31
42
## Javascript/typescript React
32
43
33
44
This library is built from the ground up for React with typescript, but it also works with with vanilla React, without enforced type checking.
@@ -38,8 +49,9 @@ Contributions are welcome.
38
49
39
50
1 . Clone this repo.
40
51
2 . Install deps using ` yarn ` . Yarn is required because of the resolutions field in package.json, npm does not support this.
41
- 3 . Open a new terminal and navigate to ` testing/ ` , run ` yarn ` and ` yarn start ` to start the testing application.
42
- 4 . Done! When you edit source code, it will be rebuilt and update the testing application.
52
+ 3 . Run ` yarn start ` , this will watch source files in ` src/ ` and rebuild on change.
53
+ 4 . Open a new terminal and navigate to ` testing/ ` , run ` yarn ` and ` yarn start ` to start the testing application.
54
+ 5 . Done! When you edit source code, it will be rebuilt and update the testing application.
43
55
44
56
## License
45
57
You can’t perform that action at this time.
0 commit comments