forked from ZeusLN/zeus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
33 lines (31 loc) · 1015 Bytes
/
App.tsx
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
import * as React from 'react';
import { View, StyleSheet } from 'react-native';
import Stores from './stores/Stores';
import Navigation from './Navigation';
import { Provider } from 'mobx-react';
export default class App extends React.PureComponent {
render() {
return (
<Provider
BalanceStore={Stores.walletStore}
TransactionsStore={Stores.transactionsStore}
ChannelsStore={Stores.channelsStore}
NodeInfoStore={Stores.nodeInfoStore}
InvoicesStore={Stores.invoicesStore}
SettingsStore={Stores.settingsStore}
UnitsStore={Stores.unitsStore}
PaymentsStore={Stores.paymentsStore}
FeeStore={Stores.feeStore}
>
<View style={styles.container}>
<Navigation />
</View>
</Provider>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1
}
});