1.0.1 • Published 4 years ago

gen-comp v1.0.1

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

gen-comp

Are you tired of creating a file then writing boilerplate code that will take your time and slow down your thinking process use gen-comp. gen-comp is a lean React Native Component Generator. A single command will create a file with boilerplate code for you.

How to use gen-comp

Install it globally, so that it works in any directory of your projects.

npm i gen-comp -g

Just like that gen-comp is ready to generate react-native components for you check out how to use using command

generate --help

Example

generate -l Welcome

Example above will generate a stateless/function component called Welcome in the active directory

generate -f Welcome

Example above will generate a statefull/class component called Welcome in the active directory