@ocralo/react-cgen
v1.1.0
Published
A CLI tool to generate React components
Downloads
12
Readme
react-cgen
A simple code generator for React components.
Installation
npm install -g react-cgen
Usage
react-cgen [options] <component-name>
Command Options
-h, --help
: Display help for command-v, --version
: Display version number-name, --name
: Test for show name
Commands
react-cgen components <component-name>
Generate a new React component.
Example
react-cgen components Button