-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
26 lines (23 loc) · 714 Bytes
/
App.tsx
File metadata and controls
26 lines (23 loc) · 714 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
import "react-native-gesture-handler";
import { StyleSheet, Text, View } from "react-native";
import DrawingBoard from "./src";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import * as React from "react";
export default function App() {
return (
<SafeAreaProvider style={styles.container}>
<GestureHandlerRootView style={{ flex: 1, height: "100%" }}>
<DrawingBoard />
</GestureHandlerRootView>
</SafeAreaProvider>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});