generate-rn-component
v1.0.9
Published
A script to generate index.js, Component.js, ComponentContainer.js, styles.js in Component folder.
Downloads
20
Maintainers
Readme
generate-rn-component
A script to generate index.js, Component.js, ComponentContainer.js, styles.js in Component folder for a React Native project. Now supports react too
Installation
Yarn
yarn global add generate-rn-component
Npm
npm install -g generate-rn-component
Usage
grnc ComponentName
or
grnc ComponentName --react
|ComponentName
|-- ComponentName.js
|-- ComponentNameContainer.js
|-- style.js
|-- index.js