123456789101112131415 |
- import React from 'react';
- import {Provider as PaperProvider} from 'react-native-paper';
- import {AppRegistry} from 'react-native';
- import App from './App';
- import {name as appName} from './app.json';
- import theme from './theme';
-
- let Main = () => (
- <PaperProvider theme={theme}>
- <App />
- </PaperProvider>
- );
-
- AppRegistry.registerComponent(appName, () => Main);
|