We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d726af commit 009ef9eCopy full SHA for 009ef9e
README.md
@@ -57,21 +57,10 @@ ___
57
58
A simple bash script has been added to the bin folder to quickly create react components with test files.
59
60
-To run, execute:
+To run, execute `node ./bin/comp` and follow the instructions.
61
62
-```
63
-./bin/comp.sh (name)
64
+You will be prompted to give your component a name, choose between stateful and stateless, choose the destination and whether to create a test file.
65
66
-This will create a folder for the component in `assets/components` with two files inside:
+This will create a folder for the component with two files:
67
- {ComponentName}.jsx
68
- {ComponentName}.test.js
69
-
70
-___
71
72
-### Testing
73
74
-To run the react tests using jest:
75
-```shell
76
-npm test
77
0 commit comments