Generate React Native component
npm install reactgen-native -g
reactgen-native <filename> <directory> [option]
reactgen-native AwesomeFile awesome -C
-P, --presentational Create inline function component
-C, --container Create class-based component
You can set your default root path by creating .env
file in your root directory and add REACTGEN_DEFAULT_ROOT_PATH="your/path"