Skip to content

Commit a3355bf

Browse files
committed
fix typo form to from
1 parent bf5873a commit a3355bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-tween-one",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "tween-one anim component for react",
55
"keywords": [
66
"react",

src/Tween.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function defaultData(vars, now) {
3636
repeat: vars.repeat || 0,
3737
repeatDelay: vars.repeatDelay || 0,
3838
yoyo: vars.yoyo || false,
39-
type: vars.type === 'form' ? 'from' : 'to',
39+
type: vars.type === 'from' ? 'from' : 'to',
4040
initTime: now,
4141
appearTo: typeof vars.appearTo === 'number' ? vars.appearTo : null,
4242
perTime: 0,

0 commit comments

Comments
 (0)