reactgen-native
v1.0.0
Published
React-native Component Generator
Downloads
4
Readme
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"