2.0.1 • Published 7 years ago

react-code-generator v2.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

reactCodeGenerator

A CLI tool for generating React components source code.

Installing

Install it as a global package:

npm install -g react-code-generator

Usage

Run the generator with the following command:

generate-component <componentName> (-p)

This will result in creating a fresh JavaScript file in the current location (where you called the command from). Name of the file will be according to argument.

If you use the '-p' flag, then the generated component will be written as a stateless functional component. Otherwise, a container component will be created as an ES6 module.

2.0.1

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago