Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav authored and github-actions[bot] committed Nov 27, 2024
1 parent 9d3df76 commit 1daf96b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tween/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ For example, to use a component prop, specify `() => props.value`.

You can provide two options:

* `duration` is the number of milliseconds to perform the transition
- `duration` is the number of milliseconds to perform the transition
from the previous value to the next value. Defaults to 100.
* `easing` is a function that maps a number between 0 and 1 to a number
- `easing` is a function that maps a number between 0 and 1 to a number
between 0 and 1, to speed up or slow down different parts of the transition.
The default easing function `(t) => t` is linear (no easing).
A common choice is `(t) => 0.5 - Math.cos(Math.PI * t) / 2`.
Expand Down

0 comments on commit 1daf96b

Please sign in to comment.