diff --git a/en/react-native-reanimated.md b/en/react-native-reanimated.md index e723a906cf8729d9198b10b8049e0261d29d689c..d7888b3db45ac529d4a68c524fd39bf0ce98b989 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 a473b2b5361bdd769bad5da719cdf07c04ca5181..885706b29ac2e4ab174ad0be9805bffe1844e984 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. 遗留问题