sync lastest NativeAnimatedHelper to macos (#57257)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57257

## Changelog:

[Internal] [Added] - sync lastest NativeAnimatedHelper to macos

Reviewed By: christophpurrer

Differential Revision: D108926246

fbshipit-source-id: 60a4c4bfd7470db3fd184d07c4c5e03ceea3c9a1
This commit is contained in:
Zeya Peng authored and meta-codesync[bot] committed 2026-06-17 17:16:18 -07:00
1 parent 9cf30b6e4b
commit faf0951b4e
1 file changed
+3 -3
@@ -202,7 +202,7 @@ const springImpl = function (
_isUsingNativeDriver: function (): boolean {
return (
NativeAnimatedHelper.isNativeDriverForced?.() ||
NativeAnimatedHelper.isNativeDriverForced() ||
config.useNativeDriver ||
false
);
@@ -260,7 +260,7 @@ const timingImpl = function (
_isUsingNativeDriver: function (): boolean {
return (
NativeAnimatedHelper.isNativeDriverForced?.() ||
NativeAnimatedHelper.isNativeDriverForced() ||
config.useNativeDriver ||
false
);
@@ -306,7 +306,7 @@ const decayImpl = function (
_isUsingNativeDriver: function (): boolean {
return (
NativeAnimatedHelper.isNativeDriverForced?.() ||
NativeAnimatedHelper.isNativeDriverForced() ||
config.useNativeDriver ||
false
);