A script to generate index.js, Component.js, ComponentContainer.js, styles.js in Component folder for a React Native project. Now supports react too
yarn global add generate-rn-component
npm install -g generate-rn-component
grnc ComponentName
or
grnc ComponentName --react
|ComponentName
|-- ComponentName.js
|-- ComponentNameContainer.js
|-- style.js
|-- index.js