-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathindex.tsx
More file actions
23 lines (20 loc) · 578 Bytes
/
index.tsx
File metadata and controls
23 lines (20 loc) · 578 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React, { Component } from 'react';
import { StyleSheet, View } from 'react-native';
import { LoremIpsum } from '../../common';
import { DraggableBox } from '../../basic/draggable/index';
export default class Example extends Component {
render() {
return (
<View style={styles.scrollView}>
<DraggableBox boxStyle={{ backgroundColor: 'plum' }} />
<DraggableBox boxStyle={{ backgroundColor: 'lightgoldenrodyellow' }} />
<LoremIpsum />
</View>
);
}
}
const styles = StyleSheet.create({
scrollView: {
flex: 1,
},
});