-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
32 lines (28 loc) · 790 Bytes
/
Copy pathapp.js
File metadata and controls
32 lines (28 loc) · 790 Bytes
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
import React from 'react'
import { View } from 'react-native'
import Reseau from './components/react-native-reseau'
// import mockData from './tests/mock-data-static'
import getMockData from './tests/mock-data'
const mockData = getMockData(32)
export default function () {
return (
<View
style={{
// A hacking to make this view could be fullscreen
flex: 1,
width: null, // remove width and height to override fixed static size
height: null,
paddingTop: 20, // TODO: Use a more graceful way to avoid overlapping content and head
backgroundColor: '#bababa',
}}
>
<Reseau
data={mockData}
pageSize={100}
contentContainerStyle={{
padding: 18,
}}
/>
</View>
)
}