forked from rainbow-me/react-native-animated-charts
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApp.js
More file actions
23 lines (21 loc) · 682 Bytes
/
App.js
File metadata and controls
23 lines (21 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// eslint-disable-next-line import/default
import ViewPager from '@react-native-community/viewpager';
import React from 'react';
import {SafeAreaView} from 'react-native';
import BasicExample from './src/BasicExample';
import Example from './src/GenericExample';
//import {default as RainbowExample} from './src/RainbowExample/value-chart/ChartExpandedState';
const App = () => {
return (
<>
<SafeAreaView style={{backgroundColor: 'black', flex: 1}}>
<ViewPager initialPage={0} style={{flex: 1}}>
<Example />
{/*<RainbowExample />*/}
<BasicExample />
</ViewPager>
</SafeAreaView>
</>
);
};
export default App;