-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
24 lines (22 loc) · 719 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from "react";
import { Provider as PaperProvider } from "react-native-paper";
import AppContainer from "./navigation/AppNavigator";
import { theme } from "./constants/Theme";
import FontAwesome5 from "react-native-vector-icons/FontAwesome5";
// TODO: Check out how to pass a theme to PaperProvider:
// https://github.com/callstack/react-native-paper-login-template/blob/master/App.tsx
// <Provider theme={theme}>
export default class App extends React.Component {
render() {
return (
<PaperProvider
settings={{
icon: props => <FontAwesome5 name={props.icon} {...props} />
}}
theme={theme}
>
<AppContainer />
</PaperProvider>
);
}
}