/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ import React, {useState} from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, Button, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; import FlipperTicTacToe from './FlipperTicTacToe'; const API = 'https://status.npmjs.org/'; const App: () => React$Node = () => { const [npmStatus, setNpmStatus] = useState('NPM status: unknown'); return ( <>
{global.HermesInternal == null ? null : ( Engine: Hermes )} Network & Logging {npmStatus}