You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,15 @@ A component that converts between an [`Animated.Value`][animated.value] and a [`
25
25
26
26
It accepts the following props:
27
27
28
-
-`from`
29
-
-`to`
28
+
-`from`: Value to read and observe changes from.
30
29
31
-
The `from` and `to` props need to be a pair of [`Animated.Value`][animated.value] and [`SharedValue`][reanimated.sharedvalue] or vice versa. The value passed to `from` will be used to update the value passed to `to`.
30
+
`Animated.Node` - `Animated.Value` and result of modifications such as interpolation (`Animated.AnimatedInterpolation`), addition (`Animated.AnimatedAddition`), etc.
31
+
32
+
`SharedValue<number>` or `DerivedValue<number>`
33
+
34
+
-`to`: Value to update when the `from` value changes.
0 commit comments