diff --git a/packages/react-native/Libraries/LogBox/UI/LogBoxInspectorFooter.js b/packages/react-native/Libraries/LogBox/UI/LogBoxInspectorFooter.js
index b67f99d5e07..44d344f0334 100644
--- a/packages/react-native/Libraries/LogBox/UI/LogBoxInspectorFooter.js
+++ b/packages/react-native/Libraries/LogBox/UI/LogBoxInspectorFooter.js
@@ -10,10 +10,10 @@
import type {LogLevel} from '../Data/LogBoxLog';
+import SafeAreaView from '../../Components/SafeAreaView/SafeAreaView';
import View from '../../Components/View/View';
import StyleSheet from '../../StyleSheet/StyleSheet';
import Text from '../../Text/Text';
-import DeviceInfo from '../../Utilities/DeviceInfo';
import LogBoxButton from './LogBoxButton';
import * as LogBoxStyle from './LogBoxStyle';
import * as React from 'react';
@@ -52,39 +52,21 @@ type ButtonProps = $ReadOnly<{|
function FooterButton(props: ButtonProps): React.Node {
return (
-
-
- {props.text}
-
-
+
+
+
+ {props.text}
+
+
+
);
}
-const buttonStyles = StyleSheet.create({
- safeArea: {
- flex: 1,
- // $FlowFixMe[sketchy-null-bool]
- paddingBottom: DeviceInfo.getConstants().isIPhoneX_deprecated ? 30 : 0,
- },
- content: {
- alignItems: 'center',
- height: 48,
- justifyContent: 'center',
- },
- label: {
- color: LogBoxStyle.getTextColor(1),
- fontSize: 14,
- includeFontPadding: false,
- lineHeight: 20,
- },
-});
-
const styles = StyleSheet.create({
root: {
backgroundColor: LogBoxStyle.getBackgroundColor(1),
@@ -97,6 +79,17 @@ const styles = StyleSheet.create({
button: {
flex: 1,
},
+ buttonContent: {
+ alignItems: 'center',
+ height: 48,
+ justifyContent: 'center',
+ },
+ buttonLabel: {
+ color: LogBoxStyle.getTextColor(1),
+ fontSize: 14,
+ includeFontPadding: false,
+ lineHeight: 20,
+ },
syntaxErrorText: {
textAlign: 'center',
width: '100%',