Skip to content

Commit c25eaae

Browse files
committed
Update README
1 parent 3231747 commit c25eaae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ const { colors, locations } = easeGradient({
4949
colorStops: {
5050
0: {
5151
color: 'transparent',
52-
// This color stop will now use `Easing.linear` instead of `Easing.ease`
52+
// The transition from `0` to `1` will now use `Easing.linear` instead of `Easing.ease`
5353
easing: Easing.linear,
5454
},
5555
1: {
5656
color: '#18181B',
5757
},
5858
},
59-
// The easing function used on all color stops, defaults to `ease-in-out` (Easing.bezier(0.42, 0, 0.58, 1))
59+
// The easing function used on all transitions, defaults to `ease-in-out` (Easing.bezier(0.42, 0, 0.58, 1))
6060
easing: Easing.ease,
6161
})
6262
```
6363

64-
Or the amount of extra color stops added between each transition
64+
Or the amount of extra color stops added to each transition
6565

6666
```js
6767
const { colors, locations } = easeGradient({

0 commit comments

Comments
 (0)