-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
32 lines (29 loc) · 715 Bytes
/
Copy pathindex.js
File metadata and controls
32 lines (29 loc) · 715 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 {
Dimensions,
StyleSheet,
View
} from 'react-native'
import React, { Component } from 'react'
import PopupWindow from './PopupWindow'
import SurfaceView from './SurfaceView'
export default class SampleApp extends Component {
render() {
return (
<View style={styles.container}>
<SurfaceView style={StyleSheet.absoluteFill}/>
<PopupWindow />
</View>
)
}
}
const styles = StyleSheet.create({
// container: { //error style with flexbox
// flex: 1,
// backgroundColor: 'red'
// },
// container: { //error style with shadow
// ...StyleSheet.absoluteFillObject,
// shadowColor: 'black',
// }
container: StyleSheet.absoluteFillObject
})