1.0.0 • Published 8 years ago

reactgen-native v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

reactgen-native

Generate React Native component

Installation

npm install reactgen-native -g

Usage

reactgen-native <filename> <directory> [option]

Example

reactgen-native AwesomeFile awesome -C

Options:

-P, --presentational  Create inline function component
-C, --container       Create class-based component

Default Path

You can set your default root path by creating .env file in your root directory and add REACTGEN_DEFAULT_ROOT_PATH="your/path"