-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
38 lines (33 loc) · 984 Bytes
/
App.js
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
33
34
35
36
37
38
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import {SafeAreaView, ScrollView, StatusBar, StyleSheet} from 'react-native';
import {Colors,} from 'react-native/Libraries/NewAppScreen';
import SvgWithMask from "./SvgWithMask.svg"
import SvgWithoutMask from "./SvgWithoutMask.svg"
const App: () => React$Node = () => {
return (
<>
<StatusBar barStyle="dark-content"/>
<SafeAreaView>
<ScrollView
contentInsetAdjustmentBehavior="automatic"
style={styles.scrollView}>
<SvgWithMask width={100} height={100}/>
<SvgWithoutMask width={100} height={100}/>
</ScrollView>
</SafeAreaView>
</>
);
};
const styles = StyleSheet.create({
scrollView: {
backgroundColor: Colors.lighter,
},
});
export default App;