Skip to content

Commit be1eb16

Browse files
committed
chore: Use rc-motion instead of rc-animate
1 parent 184d75e commit be1eb16

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"dependencies": {
6767
"@babel/runtime": "^7.10.1",
6868
"classnames": "2.x",
69-
"rc-select": "^11.0.4",
69+
"rc-select": "^11.1.1",
7070
"rc-tree": "^3.8.0",
7171
"rc-util": "^5.0.5"
7272
}

tests/__mocks__/rc-animate/lib/CSSMotionList.js renamed to tests/__mocks__/rc-motion/lib/CSSMotionList.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
/* eslint-disable import/no-extraneous-dependencies */
2+
13
import React from 'react';
2-
import { genCSSMotion } from 'rc-animate/lib/CSSMotion';
3-
import CSSMotionList, { genCSSMotionList } from 'rc-animate/lib/CSSMotionList';
4+
import { genCSSMotion } from 'rc-motion/lib/CSSMotion';
5+
import CSSMotionList, { genCSSMotionList } from 'rc-motion/lib/CSSMotionList';
46

57
let mock = false;
68

0 commit comments

Comments
 (0)