Skip to content

Commit 74603fb

Browse files
committed
docs: tweak readme
1 parent e821100 commit 74603fb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,17 @@ A component that converts between an [`Animated.Node`][animated.node] and a [`Sh
2525

2626
It accepts the following props:
2727

28-
- `from`: Value to read and observe changes from.
28+
- `from`
2929

30-
[`Animated.Node`][animated.node] - [`Animated.Value`][animated.value] or result of modifications such as interpolation (`Animated.AnimatedInterpolation`), addition (`Animated.AnimatedAddition`), etc.
30+
Value to read and observe changes from. It can be one of the following:
31+
- [`Animated.Node`][animated.node] - [`Animated.Value`][animated.value] or result of modifications such as interpolation (`Animated.AnimatedInterpolation`), addition (`Animated.AnimatedAddition`), etc.
32+
- [`SharedValue<number>`][reanimated.sharedvalue] or [`DerivedValue<number>`][reanimated.derivedvalue]
3133

32-
[`SharedValue<number>`][reanimated.sharedvalue] or [`DerivedValue<number>`][reanimated.derivedvalue]
34+
- `to`
3335

34-
- `to`: Value to update when the `from` value changes.
35-
36-
[`Animated.Value`][animated.value] or [`SharedValue<number>`][reanimated.sharedvalue]
36+
Value to update when the `from` value changes. It can be one of the following:
37+
- [`Animated.Value`][animated.value]
38+
- [`SharedValue<number>`][reanimated.sharedvalue]
3739

3840
Usage:
3941

0 commit comments

Comments
 (0)