forked from bnelson777/id.ly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
37 lines (31 loc) · 808 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
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* Create App Page
* by id.ly Team
*/
//Import Libraries
import React, { Component } from 'react';
import { Platform, AppRegistry, YellowBox } from 'react-native';
import { Provider } from 'react-redux';
import RNFetchBlob from 'react-native-fetch-blob';
import store from './app/store';
import Main from './app/index';
console.ignoredYellowBox = ['Warning: componentWill'];
export default class App extends Component {
constructor() {
super();
this.state = {
loadingFont: false,
}
}
async componentDidMount() {
this.setState({loadingFont: true});
}
render() {
return (
<Provider store={store}>
<Main />
</Provider>
);
}
};
AppRegistry.registerComponent("id.ly", () => App);