Tools are working
This commit is contained in:
+6
-2
@@ -1,7 +1,9 @@
|
||||
/* @flow */
|
||||
|
||||
import React from "react";
|
||||
import { StyleSheet, Text, View } from "react-native";
|
||||
|
||||
export default class App extends React.Component {
|
||||
export default class App extends React.Component<> {
|
||||
render() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
@@ -13,10 +15,12 @@ export default class App extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
const white: string = "#fff";
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: "#fff",
|
||||
backgroundColor: white,
|
||||
alignItems: "center",
|
||||
justifyContent: "center"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user