reactgen-native

1.0.0 • Public • Published

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"

Readme

Keywords

Package Sidebar

Install

npm i reactgen-native

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • junedomingo