-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
53 lines (50 loc) · 1.65 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { ScrollView, StyleSheet } from 'react-native';
import React from 'react';
import { Image, View } from 'react-native-ui-lib';
import { RecoilRoot } from 'recoil';
import BoraPortal from './src/components/BoraPortal';
import ConnectNetwork from './src/components/ConnectNetwork';
import LoginWithFace from './src/components/LoginWithFace';
import SignMessage from './src/components/SignMessage';
import TransactionErc1155 from './src/components/TransactionErc1155';
import TransactionErc20 from './src/components/TransactionErc20';
import TransactionErc721 from './src/components/TransactionErc721';
import TransactionPlatformCoin from './src/components/TransactionPlatformCoin';
import WalletHome from './src/components/WalletHome';
import TransactionContractCall from './src/components/TransactionContractCall';
export default function App() {
return (
<RecoilRoot>
<View useSafeArea style={styles.safeContainer}>
<ScrollView contentContainerStyle={styles.container}>
<Image source={require('./assets/logo.png')} style={styles.logo} />
<ConnectNetwork />
<LoginWithFace />
<WalletHome />
<BoraPortal />
<TransactionPlatformCoin />
<TransactionErc20 />
<TransactionErc721 />
<TransactionErc1155 />
<TransactionContractCall />
<SignMessage />
</ScrollView>
</View>
</RecoilRoot>
);
}
const styles = StyleSheet.create({
safeContainer: {
backgroundColor: '#fafafa',
flex: 1,
},
container: {
padding: 20,
paddingBottom: 20,
paddingTop: 5,
},
logo: {
width: '45%',
resizeMode: 'contain',
},
});