From 32dd52e02744d3a8765728cc9af7e05a37fb157d Mon Sep 17 00:00:00 2001 From: Joe Vilches Date: Wed, 2 Oct 2024 15:56:38 -0700 Subject: [PATCH] Back out "Add RNTester box sizing example and e2e test" (#46795) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46795 Original commit changeset: d7bb6f115bca Original Phabricator Diff: D63471840 See previous diff, there were some problems Changelog: [Internal] Differential Revision: D63777438 fbshipit-source-id: ea9f370eade10282fcee84d07d709b549dde1b6d --- .../rn-tester/js/examples/View/ViewExample.js | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/packages/rn-tester/js/examples/View/ViewExample.js b/packages/rn-tester/js/examples/View/ViewExample.js index 2bb0ecff29d..f95b48e8562 100644 --- a/packages/rn-tester/js/examples/View/ViewExample.js +++ b/packages/rn-tester/js/examples/View/ViewExample.js @@ -668,37 +668,6 @@ function OutlineExample(): React.Node { ); } -function BoxSizingExample(): React.Node { - const styles = StyleSheet.create({ - boxSizingBox: { - padding: 5, - backgroundColor: 'green', - borderWidth: 5, - margin: 10, - width: 50, - height: 25, - }, - boxSizingChild: { - backgroundColor: 'red', - width: '100%', - height: '100%', - }, - }); - - return ( - - Content box 50x25 - - - - Border box 50x25 - - - - - ); -} - export default ({ title: 'View', documentationURL: 'https://reactnative.dev/docs/view', @@ -1343,10 +1312,5 @@ export default ({ name: 'outline', render: OutlineExample, }, - { - title: 'Box Sizing', - name: 'box-sizing', - render: BoxSizingExample, - }, ], }: RNTesterModule);