From 7239eb0eec0f19867df0d7510191766c26122def Mon Sep 17 00:00:00 2001 From: tyBrave Date: Wed, 4 Mar 2026 11:38:26 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IEYP3F]=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0react-native-reanimated=E7=9A=84=E6=8C=87=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tyBrave --- en/react-native-reanimated.md | 9 +++++---- zh-cn/react-native-reanimated.md | 10 +++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/en/react-native-reanimated.md b/en/react-native-reanimated.md index e723a906..d7888b3d 100644 --- a/en/react-native-reanimated.md +++ b/en/react-native-reanimated.md @@ -380,11 +380,11 @@ Open `entry/src/main/resources/base/element/string.json`, and add: | `useAnimatedGestureHandler`deprecated from 3.18.0 | lets you create animations based on gesture handlers. | function | No | All | No | | `useScrollViewOffset` deprecated from 4.0.0 | lets you to create animations based on the offset of a ScrollView.

3.6.0:useScrollViewOffset(aref: RefObject) => [SharedValue\];
3.18.0:useScrollViewOffset(animatedRef: AnimatedRef\, providedOffset?: SharedValue\): SharedValue\; | function | No | All | yes | | `useScrollOffset` 4.0.0+ | lets you to create animations based on the offset of a scrollable component (e.g. ScrollView, FlatList, FlashList) | function | No | All | yes | -| `createAnimatedComponent ` | lets you create an Animated version of any React Native component | function | No | All | yes | +| `createAnimatedComponent `4.0.0+ | lets you create an Animated version of any React Native component | function | No | All | yes | | `getStaticFeatureFlag` 4.0.0+ | A function for obtaining static functionality flags (feature flags) | function | No | All | yes | | `setDynamicFeatureFlag` 4.0.0+ | A function for dynamically setting function flags | function | No | All | yes | | `reanimatedVersion` 4.0.0+ | Obtain the version number of the animation library | function | No | All | yes | -| `useAnimatedProps` | It is a custom Hook in the React Native Reanimated library, used to create animatable component properties | function | No | All | yes | +| `useAnimatedProps`4.0.0+ | It is a custom Hook in the React Native Reanimated library, used to create animatable component properties | function | No | All | yes | ## 5. Properties @@ -460,8 +460,9 @@ Open `entry/src/main/resources/base/element/string.json`, and add: | `SnappySpringConfigWithDuration ` 4.0.0+ | The configuration defines the "Snappy" (quick) spring animation. | Object | No | All | yes | | `WigglySpringConfig ` 4.0.0+ | The configuration defines the "Wiggly" (swinging) spring animation, which will produce a distinct swinging/bouncing effect. | Object | No | All | yes | | `WigglySpringConfigWithDuration ` 4.0.0+ | The configuration defines the "Wiggly" (swaying) spring animation, which completes the animation within 550ms and will have a distinct oscillation effect (underdamping) | Object | No | All | yes | -| `EasingFunctionFactory` | A type definition in the library, serving as a factory function for creating easing functions | object | No | All | yes | -| `DynamicColorIOS` | designed to be used within Reanimated. It's a way to define colors that automatically adapt to light and dark mode on iOS | object | No | iOS | no | +| `EasingFunctionFactory`4.0.0+ | A type definition in the library, serving as a factory function for creating easing functions | object | No | All | yes | +| `EntryOrExitLayoutType`4.0.0+ | A combined type used to define the type of entering or exiting animation | object | No | All | yes | +| `DynamicColorIOS`4.0.0+ | designed to be used within Reanimated. It's a way to define colors that automatically adapt to light and dark mode on iOS | object | No | iOS | no | ## 6. Known Issues diff --git a/zh-cn/react-native-reanimated.md b/zh-cn/react-native-reanimated.md index a473b2b5..885706b2 100644 --- a/zh-cn/react-native-reanimated.md +++ b/zh-cn/react-native-reanimated.md @@ -382,11 +382,11 @@ ohpm install | `useAnimatedGestureHandler`deprecated from 3.18.0 | lets you create animations based on gesture handlers. | function | No | All | No | | `useScrollViewOffset` deprecated from 4.0.0 | lets you to create animations based on the offset of a ScrollView.

3.6.0:useScrollViewOffset(aref: RefObject) => [SharedValue\];
3.18.0:useScrollViewOffset(animatedRef: AnimatedRef\, providedOffset?: SharedValue\): SharedValue\; | function | No | All | yes | | `useScrollOffset` 4.0.0+ | lets you to create animations based on the offset of a scrollable component (e.g. ScrollView, FlatList, FlashList) | function | No | All | yes | -| `createAnimatedComponent ` | lets you create an Animated version of any React Native component | function | No | All | yes | +| `createAnimatedComponent `4.0.0+ | lets you create an Animated version of any React Native component | function | No | All | yes | | `getStaticFeatureFlag` 4.0.0+ | A function for obtaining static functionality flags (feature flags) | function | No | All | yes | | `setDynamicFeatureFlag` 4.0.0+ | A function for dynamically setting function flags | function | No | All | yes | | `reanimatedVersion` 4.0.0+ | Obtain the version number of the animation library | function | No | All | yes | -| `useAnimatedProps` | It is a custom Hook in the React Native Reanimated library, used to create animatable component properties | function | No | All | yes | +| `useAnimatedProps`4.0.0+ | It is a custom Hook in the React Native Reanimated library, used to create animatable component properties | function | No | All | yes | ## 5. 属性 @@ -463,9 +463,9 @@ ohpm install | `SnappySpringConfigWithDuration ` 4.0.0+ | The configuration defines the "Snappy" (quick) spring animation. | Object | No | All | yes | | `WigglySpringConfig ` 4.0.0+ | The configuration defines the "Wiggly" (swinging) spring animation, which will produce a distinct swinging/bouncing effect. | Object | No | All | yes | | `WigglySpringConfigWithDuration ` 4.0.0+ | The configuration defines the "Wiggly" (swaying) spring animation, which completes the animation within 550ms and will have a distinct oscillation effect (underdamping) | Object | No | All | yes | -| `EasingFunctionFactory` | A type definition in the library, serving as a factory function for creating easing functions | object | No | All | yes | -| `EntryOrExitLayoutType` | A combined type used to define the type of entering or exiting animation | object | No | All | yes | -| `DynamicColorIOS` | designed to be used within Reanimated. It's a way to define colors that automatically adapt to light and dark mode on iOS | object | No | iOS | no | +| `EasingFunctionFactory`4.0.0+ | A type definition in the library, serving as a factory function for creating easing functions | object | No | All | yes | +| `EntryOrExitLayoutType`4.0.0+ | A combined type used to define the type of entering or exiting animation | object | No | All | yes | +| `DynamicColorIOS`4.0.0+ | designed to be used within Reanimated. It's a way to define colors that automatically adapt to light and dark mode on iOS | object | No | iOS | no | ## 6. 遗留问题 -- Gitee