| 123456789101112131415161718192021222324252627 |
- /**
- * @format
- */
- import React from 'react';
- import {AppRegistry, StatusBar} from 'react-native';
- import 'react-native-gesture-handler';
- import './app/utils/notification';
- import './app/utils/constant';
- import './app/utils/vector_icon';
- import Router from './app/pages/Router';
- import {name as appName} from './app.json';
- //import {ModalPortal} from 'react-native-modals';
- import ModalPortal from './app/components/ModalPortal';
- import {RootSiblingParent} from 'react-native-root-siblings';
- const Index = () => {
- return (
- <RootSiblingParent>
- <StatusBar backgroundColor={colorPrimaryDark}/>
- <Router />
- <ModalPortal />
- </RootSiblingParent>
- );
- };
- AppRegistry.registerComponent(appName, () => Index);
|