feat: Add auto generate component template for new component
Closed this issue · 1 comments
yogesh7401 commented
Create a script that auto generate component template for new component
yogesh7401 commented
Auto generate component is added in 0b0c573
For NPM User:
npm run generate <component_name>
For Yarn User:
yarn generate <component_name>
Here
component_name
refers to the name of the new component that is need to be created
.
├── ...
|
├── src
| └── components
│ └── <component_name>
| └── <component_name>.tsx
|
├── stories
│ └── <component_name>.stories.tsx
|
├── test
│ └── <component_name>.test.tsx
|
└── ...