make-new-component
v2.0.4
Published
CLI for creating new React components
Downloads
7
Readme
Create a new React component
Usage
Install via NPM:
# Using Yarn:
$ yarn global add make-new-component
# or, using NPM
$ npm i -g make-new-component
Run:
$ cd PROJECT_DIRECTORY
$ make-new-component Button
# or, using npx
$ npx make-new-component Button
Typescript support
Run:
$ cd PROJECT_DIRECTORY
$ make-new-component Button -ts
# or, using npx
$ npx make-new-component Button -ts