react-folder-creator
v1.0.6
Published
Utility to create react components in typescript, with types and styles built in
Downloads
3
Maintainers
Readme
react-folder-creator
Utility to create react components in typescript, with types and styles built in.
This package create components using folder architecture & BEM.
How to use
Run the following command:
npx react-folder-creator
You will be prompted to provide the following information:
- Component Name (Use UpperCamelCase)
- Do you need types? (This will create a .types.ts file)
- Do you need styles? (This will create a .css file)
- Destination directory (By default, it's set to src/components)