/** * 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. * * @flow strict-local * @format */ 'use strict'; import * as React from 'react'; import StyleSheet from '../../StyleSheet/StyleSheet'; import Text from '../../Text/Text'; import View from '../../Components/View/View'; import * as LogBoxStyle from './LogBoxStyle'; type Props = $ReadOnly<{||}>; function LogBoxInspectorMeta(props: Props): React.Node { return ( Meta Engine {/* TODO: Determine engine correctly */} {global.HermesInternal ? 'Hermes' : 'Unknown'} ); } const metaStyles = StyleSheet.create({ section: { marginTop: 15, }, heading: { alignItems: 'center', flexDirection: 'row', paddingHorizontal: 12, marginBottom: 10, }, headingText: { color: LogBoxStyle.getTextColor(1), flex: 1, fontSize: 20, fontWeight: '600', includeFontPadding: false, lineHeight: 20, }, body: { paddingLeft: 25, paddingRight: 25, paddingBottom: 20, flexDirection: 'row', justifyContent: 'space-between', }, bodyItem: { flex: 0, }, bodyText: { color: LogBoxStyle.getTextColor(1), fontSize: 14, includeFontPadding: false, lineHeight: 20, flex: 0, flexGrow: 0, }, }); export default LogBoxInspectorMeta;