diff --git a/packages/react-native/Libraries/Animated/useAnimatedProps.js b/packages/react-native/Libraries/Animated/useAnimatedProps.js index c8ac6bcfa37193..2d87e367d81c46 100644 --- a/packages/react-native/Libraries/Animated/useAnimatedProps.js +++ b/packages/react-native/Libraries/Animated/useAnimatedProps.js @@ -47,7 +47,7 @@ export default function useAnimatedProps( [props], ); const useNativePropsInFabric = - ReactNativeFeatureFlags.useSetNativePropsInFabric(); + ReactNativeFeatureFlags.shouldUseSetNativePropsInFabric(); useAnimatedPropsLifecycle(node); // TODO: This "effect" does three things: diff --git a/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js b/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js index 16fb2c5873ad1f..40749a4ce4e2bf 100644 --- a/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js +++ b/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js @@ -52,7 +52,7 @@ export type FeatureFlags = {| /** * Enables use of setNativeProps in JS driven animations. */ - useSetNativePropsInFabric: () => boolean, + shouldUseSetNativePropsInFabric: () => boolean, |}; const ReactNativeFeatureFlags: FeatureFlags = { @@ -64,7 +64,7 @@ const ReactNativeFeatureFlags: FeatureFlags = { isGlobalWebPerformanceLoggerEnabled: () => false, enableAccessToHostTreeInFabric: () => false, shouldUseAnimatedObjectForTransform: () => false, - useSetNativePropsInFabric: () => false, + shouldUseSetNativePropsInFabric: () => false, }; module.exports = ReactNativeFeatureFlags;