Breaking: Remove "UseLegacyStretchBehaviour" functions (#1368)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1368

X-link: https://github.com/facebook/react-native/pull/39372

These were marked as deprecated as part of the public Yoga 2.0 release, and were alredy emitting deprecation warnings. Remove them.

Reviewed By: javache

Differential Revision: D49131250

fbshipit-source-id: cc1d4e8b179697b9a11a685f4fc4e9d36e1a26a0
This commit is contained in:
Nick Gerleman
2023-09-11 19:51:40 -07:00
committed by Facebook GitHub Bot
parent a2d3fc6a3c
commit c35f8819ae
11 changed files with 1 additions and 105 deletions

View File

@@ -292,7 +292,7 @@ public class YogaNodeTest {
@Test
public void testResetApiShouldResetAllLayoutOutputs() {
YogaConfig config = YogaConfigFactory.create();
config.setUseLegacyStretchBehaviour(true);
config.setErrata(YogaErrata.STRETCH_FLEX_BASIS);
YogaNode node = createNode(config);
node.setWidth(100);
node.setHeight(100);