Skip to content

Commit b46fabd

Browse files
coadometa-codesync[bot]
authored andcommitted
Make ViewPropsInterpolation.h private (#58944)
Summary: Pull Request resolved: #58944 Move `ViewPropsInterpolation.h` from the public tier of the C++ stable API to the private tier, and remove it from the `<React/View.h>` umbrella. The header defines `interpolateViewProps`, an inline helper that interpolates opacity and transform between two `ViewProps` during a layout animation. It is an implementation detail of React Native's layout animation system, the only code that calls it, and it is not part of the API for component authors. No public or for-frameworks header includes it. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D123651988
1 parent c544f0d commit b46fabd

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/react-native/ReactCommon/react/renderer/components/view/React/View.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#include <react/renderer/components/view/ViewComponentDescriptor.h>
5252
#include <react/renderer/components/view/ViewEventEmitter.h>
5353
#include <react/renderer/components/view/ViewProps.h>
54-
#include <react/renderer/components/view/ViewPropsInterpolation.h>
5554
#include <react/renderer/components/view/ViewShadowNode.h>
5655
#include <react/renderer/components/view/YogaLayoutableShadowNode.h>
5756
#include <react/renderer/components/view/YogaStylableProps.h>

‎packages/react-native/ReactCommon/react/renderer/components/view/ViewPropsInterpolation.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#pragma once
99

10-
#include <react/cxxstableapi/UmbrellaGuard.h>
10+
#include <react/cxxstableapi/PrivateGuard.h>
1111

1212
#include <react/renderer/components/view/ViewProps.h>
1313
#include <react/renderer/graphics/Transform.h>

0 commit comments

Comments
 (0)