rn-global-structure
v0.0.6
Published
React Native Structure
Downloads
225
Readme
React Native Custom Template
This is a custom template for initializing new React Native projects. It provides a structured organization of code and includes common features, utilities, and global styles.
Features
- Components: Reusable UI components.
MButton
,MIcons
,MInput
,MText
- Constants: Constants used throughout the application.
- Locales: Internationalization files.
- Main: Entry point of the application.
- Navigation: Navigation setup.
Stack
,Tab
- Screens: Application screens organized by layers.
AppLayer
,AuthLayer
- Services: Utility services.
API
,Navigation
- Styles: Global styles for colors, fonts, and sizes.
- Utils: Utility functions.
DeviceInfo
,Endpoint
,Normalize
Getting Started
To use this template, you can initialize a new React Native project using react-native init
and specifying this template:
npx react-native init YourAppName --template rn-global-structure
Replace YourAppName
with your desired project name.
Authors
- Vardges Avetisyan - avetisyanvardges