awt-helmet-adherence

1.0.74 • Public • Published

AWT QR code scanner

Installation

npm i awt-helmet-adherence

Integration of package in app.js

example #1

import React from 'react';

import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, useColorScheme, View, } from 'react-native';

import AWT from 'awt-helmet-adherence';

import {COLOR, ThemeContext, getTheme} from 'react-native-material-ui';

const uiTheme = { palette: { primaryColor: COLOR.blue500, }, toolbar: { container: { height: 50, }, }, };

const App = () => {

/* Passing user data as props */

const user_detais = { "base_Location":"" "email": "tuheens@amazon.com" "firstName": "Tuheen Sengupta", "lastName": "", "email": "tuheens@amazon.com" "learning_Manager_Name": "1377", "tM/CRM": "93203", "nH_Required": "", "category": "93245", "station": "96001", "city": "158", "state": "159", "station_Type": "130", "joining_Date": "", "store_ID": "", "emp_ID": "", "sM/CTL": "96532", "ooR_Days": "0", "zone": "94907", "training_Manager_Name": "96045", "pwd": "", "channel": "31641", "designation": "94569", "vendor": "1074" };

return (

<ThemeContext.Provider value={getTheme(uiTheme)}>
  <StatusBar
    barStyle="dark-content"
    hidden={false}
    backgroundColor="#8e165e"
    translucent={true}
    barStyle="light-content"
  />
< AWT data={user_details}  registrationKey="awt_registered" /> 
</ThemeContext.Provider>

);

};

export default App;

Package Sidebar

Install

npm i awt-helmet-adherence

Weekly Downloads

20

Version

1.0.74

License

ISC

Unpacked Size

813 kB

Total Files

20

Last publish

Collaborators

  • angadiworldtech