File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2727es
2828yarn.lock
2929package-lock.json
30+ pnpm-lock.yaml
3031coverage /
3132.doc
3233dist /
Original file line number Diff line number Diff line change 4444 "prepare" : " husky install"
4545 },
4646 "dependencies" : {
47- "classnames " : " ^2.2.1 " ,
48- "@rc-component/util " : " ^1.3.0 "
47+ "@rc-component/util " : " ^1.3.0 " ,
48+ "clsx " : " ^2.1.1 "
4949 },
5050 "devDependencies" : {
5151 "@rc-component/father-plugin" : " ^2.0.3" ,
5252 "@rc-component/np" : " ^1.0.3" ,
5353 "@testing-library/jest-dom" : " ^6.6.3" ,
5454 "@testing-library/react" : " ^16.0.1" ,
5555 "@testing-library/user-event" : " ^14.0.0-beta" ,
56- "@types/classnames" : " ^2.2.9" ,
5756 "@types/jest" : " ^30.0.0" ,
57+ "@types/node" : " ^24.5.2" ,
5858 "@types/react" : " ^19.0.0" ,
5959 "@types/react-dom" : " ^19.0.1" ,
6060 "@umijs/fabric" : " ^4.0.0" ,
Original file line number Diff line number Diff line change 1- import clsx from 'classnames ' ;
1+ import { clsx } from 'clsx ' ;
22import type { ReactElement , ReactNode } from 'react' ;
33import React , { cloneElement , useRef } from 'react' ;
44import type { BaseInputProps } from './interface' ;
Original file line number Diff line number Diff line change 1- import clsx from 'classnames ' ;
1+ import { clsx } from 'clsx ' ;
22import useControlledState from '@rc-component/util/lib/hooks/useControlledState' ;
33import omit from '@rc-component/util/lib/omit' ;
44import React , {
You can’t perform that action at this time.
0 commit comments