1/** 2 * Copyright (c) 650 Industries. 3 * Copyright (c) Meta Platforms, Inc. and affiliates. 4 * 5 * This source code is licensed under the MIT license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8import React from 'react'; 9import { StyleSheet, Text, View } from 'react-native'; 10import * as LogBoxStyle from '../UI/LogBoxStyle'; 11export function LogBoxInspectorSection(props) { 12 return (React.createElement(View, { style: styles.section }, 13 React.createElement(View, { style: styles.heading }, 14 React.createElement(Text, { style: styles.headingText }, props.heading), 15 props.action), 16 React.createElement(View, { style: styles.body }, props.children))); 17} 18const styles = StyleSheet.create({ 19 section: { 20 marginTop: 15, 21 }, 22 heading: { 23 alignItems: 'center', 24 flexDirection: 'row', 25 paddingHorizontal: 12, 26 marginBottom: 10, 27 }, 28 headingText: { 29 color: LogBoxStyle.getTextColor(1), 30 flex: 1, 31 fontSize: 18, 32 fontWeight: '600', 33 includeFontPadding: false, 34 lineHeight: 20, 35 }, 36 body: { 37 paddingBottom: 10, 38 }, 39}); 40//# sourceMappingURL=LogBoxInspectorSection.js.map