generator-react-native-container

Yeoman generator for making react-native containers

Usage no npm install needed!

<script type="module">
  import generatorReactNativeContainer from 'https://cdn.skypack.dev/generator-react-native-container';
</script>

README

generator-react-native-container NPM version Build Status Dependency Status

Yeoman generator for creating react-native container folders.

This generator generates an opinionated react-native container folder.

The generated folder structure is as follows:

TemplateContainer/
├── Component.js
├── Container.js
└── index.js

The generated files are based on the template in app/templates/TemplateContainer.

Installation

First, install Yeoman and generator-react-native-container using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-react-native-container

Then generate your new react-native container folder:

yo react-native-container ContainerName  # ContainerName will be the name of your new container's folder

License

MIT