diff --git a/package.json b/package.json index 750f66e..8eb1b49 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "devDependencies": { "@rc-component/father-plugin": "^1.0.1", "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^14.0.0", + "@testing-library/react": "^14.2.1", "@types/classnames": "^2.2.9", "@types/jest": "^29.2.4", "@types/react": "^17.0.13", diff --git a/src/index.tsx b/src/index.tsx index 9069645..0bb2e73 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,8 +1,8 @@ -import * as React from 'react'; import classNames from 'classnames'; import useMergedState from 'rc-util/lib/hooks/useMergedState'; -import { composeRef } from 'rc-util/lib/ref'; import omit from 'rc-util/lib/omit'; +import { composeRef } from 'rc-util/lib/ref'; +import * as React from 'react'; import MotionThumb from './MotionThumb';