24 lines
586 B
JavaScript
24 lines
586 B
JavaScript
|
import React from "react";
|
||
|
|
||
|
import Home from "./screens/home";
|
||
|
// import { AppLoading } from 'expo';
|
||
|
// import loadFonts from './helpers/loadFonts';
|
||
|
|
||
|
const App = () => {
|
||
|
// Example of implementation of custom font with class components:
|
||
|
// https://github.com/GeekyAnts/NativeBase-KitchenSink/blob/CRNA/src/boot/setup.js
|
||
|
// if (!isReady) {
|
||
|
// return (
|
||
|
// <AppLoading
|
||
|
// startAsync={loadFonts()}
|
||
|
// onFinish={() => setIsReady({ isReady: true })}
|
||
|
// onError={console.warn}
|
||
|
// />
|
||
|
// ); }
|
||
|
|
||
|
return (
|
||
|
<Home/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default App;
|