react-native-basic-component
v1.0.10
Published
A simple utility package for React Native that helps you get the platform name (iOS or Android). it's basic common component use in project like Header, Activity Loader, Divider, ShowMsg etc.. ## ✨ Features
Readme
📦 react-native-basic-component
A simple utility package for React Native that helps you get the platform name (iOS or Android). it's basic common component use in project like Header, Activity Loader, Divider, ShowMsg etc..
✨ Features
- ✅ Lightweight
- 🛠️ Written in TypeScript
- 🔌 Supports React Native projects
📦 Installation
npm install react-native-basic-component
# or with yarn
yarn add react-native-basic-component
Usage:-
import Component from 'react-native-basic-component'
Require for Header :-
| Property | Value |
|------------------|---------|
| name | require |
| navigation | require |
| bgColor | require |
<Component.Header name={"Dashboard"} navigation={navigation} bgColor={'black'} iconColor={'white'}/>Activity Loader:-
| Property | Value |
|------------------|---------|
| show/hide | require |
| Activty color | require |
{Component.ProgressDialog.CustomProgressBar(true,'red')}
Message Show Like Snak bar:-
| Property | Value |
|------------------|---------|
| message text | require |
| text color | require |
| background color | require |
Component.ShowMsg("Hello World",'white','black')Async Storage For Local Data Handle
Component.AsyncConfig.storeItem('key', data);
