LogBox - Rename and re-order dismiss/minimize buttons

Summary:
Based on feedback "minimize" wasn't clear and "close" is more common so it should be on the right

Changelog: [Internal]

Reviewed By: cpojer

Differential Revision: D18353907

fbshipit-source-id: bccfc9be6c225a9adb31ef11d6a91330a7d4e008
This commit is contained in:
Rick Hanlon
2019-11-07 06:32:01 -08:00
committed by Facebook Github Bot
parent 8901a0b863
commit f1a11b6ce4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -54,8 +54,8 @@ function LogBoxInspectorFooter(props: Props): React.Node {
return (
<View style={styles.root}>
<FooterButton text="Minimize" onPress={props.onMinimize} />
<FooterButton text="Dismiss" onPress={props.onDismiss} />
<FooterButton text="Close" onPress={props.onMinimize} />
</View>
);
}
@@ -256,11 +256,11 @@ exports[`LogBoxInspectorFooter should render two buttons for warning with no fat
>
<FooterButton
onPress={[Function]}
text="Minimize"
text="Dismiss"
/>
<FooterButton
onPress={[Function]}
text="Dismiss"
text="Close"
/>
</View>
`;