1.0.6 • Published 3 years ago

react-folder-creator v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

  1. Run the following command: npx react-folder-creator

  2. 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)

Example image

Result:

Output example

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago