"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _reactNativeWeb = require("react-native-web");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var instructions = _reactNativeWeb.Platform.select({
  ios: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu YO",
  android: "Double tap R on your keyboard to reload,\n" + "Shake or press menu button for dev menu",
  web: "Your browser will automatically refresh as soon as you save the file."
});

var HomeScreen = function HomeScreen() {
  return _react.default.createElement(_reactNativeWeb.View, {
    style: styles.container
  }, _react.default.createElement(_reactNativeWeb.Text, {
    style: styles.welcome
  }, "Welcome to React Native Web universal app!"), _react.default.createElement(_reactNativeWeb.Text, {
    style: styles.instructions
  }, "This component is shared between web and react environment. To see how it works, just edit the HomeScreen.js"), _react.default.createElement(_reactNativeWeb.Text, {
    style: styles.instructions
  }, instructions));
};

var styles = _reactNativeWeb.StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: "center",
    alignItems: "center",
    backgroundColor: "#F5FCFF"
  },
  welcome: {
    fontSize: 20,
    textAlign: "center",
    margin: 10
  },
  instructions: {
    textAlign: "center",
    color: "#333333",
    marginBottom: 5
  }
});

var _default = HomeScreen;
exports.default = _default;