![]() |
This repository contains code generator for React Native projects in from of a Command Line Tool. Currently it only generates Navigation and Screen codes. It contains some basic react native components. The number of supported core components will increase in future package versions. In addition, custom components can be developed. Warning: This package ( React Native Code Generator @muhtalipdede/rn-generator ) does not have a stable version yet. It is an experiential project.
Additional Information: react-native-community typescript project is used as project template. For more information https://github.com/react-native-community/react-native-template-typescript
Create a rn-generator.json file in the root of your project
echo [] > rn-generator.json
Add Project Navigations and screens (as a Array) properties (as a Object) (useState, useEffect, functions, children - react native base compenents) in the rn-generator.json
For more Examples Example JSON
Run the following command in your terminal prompt:
npx @muhtalipdede/rn-generator@latest example
or
npx @muhtalipdede/rn-generator@latest example --only-screen
or
npx @muhtalipdede/rn-generator@latest --help
- Muhtalip Dede (@muhtalipdede)
Reach me with email:
- To: [email protected]
- Subject: rn-generator
- Body: {{yourMessage}} with {{yourContact}}
Everything inside this repository is ISC licensed.