File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 },
4848 "dependencies" : {
4949 "@babel/runtime" : " ^7.11.1" ,
50- "@rc-component/util" : " ^1.3.0 " ,
50+ "@rc-component/util" : " ^1.11.1 " ,
5151 "clsx" : " ^2.1.1" ,
5252 "@rc-component/motion" : " ^1.1.4"
5353 },
5454 "devDependencies" : {
55- "@rc-component/father-plugin" : " ^2.0.1 " ,
55+ "@rc-component/father-plugin" : " ^2.2.0 " ,
5656 "@rc-component/np" : " ^1.0.0" ,
5757 "@testing-library/jest-dom" : " ^6.9.1" ,
5858 "@testing-library/react" : " ^14.2.1" ,
Original file line number Diff line number Diff line change 11import CSSMotion from '@rc-component/motion' ;
2- import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect' ;
3- import { composeRef } from '@rc-component/util/lib/ref' ;
2+ import { composeRef , useLayoutEffect } from '@rc-component/util' ;
43import { clsx } from 'clsx' ;
54import * as React from 'react' ;
65import type { SegmentedValue } from '.' ;
Original file line number Diff line number Diff line change 1- import useControlledState from '@rc-component/util/lib/hooks/useControlledState' ;
2- import omit from '@rc-component/util/lib/omit' ;
3- import { composeRef } from '@rc-component/util/lib/ref' ;
1+ import { composeRef , omit , useControlledState } from '@rc-component/util' ;
42import { clsx } from 'clsx' ;
53import * as React from 'react' ;
64
You can’t perform that action at this time.
0 commit comments