Skip to content

Commit a845c46

Browse files
committed
remove old index files. Use different start screen
1 parent 43d0ac6 commit a845c46

File tree

4 files changed

+39
-478
lines changed

4 files changed

+39
-478
lines changed

index.js

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,44 @@
11
/* eslint-disable no-unused-vars */
22

33
import React from 'react'
4-
import { AppRegistry } from 'react-native'
5-
import App from './src/app'
4+
import { AppRegistry, Text, View } from 'react-native'
5+
6+
const App = () => {
7+
return (
8+
<View
9+
style={{
10+
flex: 1,
11+
justifyContent: 'center',
12+
}}
13+
>
14+
<Text
15+
style={{
16+
fontSize: 22,
17+
textAlign: 'center',
18+
}}
19+
>
20+
{
21+
"Welcome to \"react-native-svg-charts\". \n" +
22+
"To see showcases of all our charts\n"
23+
}
24+
</Text>
25+
<Text
26+
style={{
27+
fontSize: 14,
28+
alignSelf: 'center',
29+
}}
30+
>
31+
{
32+
"• Stop your packager \n" +
33+
"• run \"yarn storybook\" \n" +
34+
"• Go to \"localhost:7008\" in your browser\n" +
35+
"• reload your device \n" +
36+
"• browse our charts"
37+
}
38+
</Text>
39+
40+
</View>
41+
)
42+
}
643

744
AppRegistry.registerComponent('react-native-svg-charts', () => App)

0 commit comments

Comments
 (0)