File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4343 "dependencies" : {
4444 "@rc-component/motion" : " ^1.1.4" ,
4545 "@rc-component/portal" : " ^2.2.0" ,
46- "@rc-component/resize-observer" : " ^1.0 .0" ,
46+ "@rc-component/resize-observer" : " ^1.1 .0" ,
4747 "@rc-component/util" : " ^1.2.1" ,
4848 "clsx" : " ^2.1.1"
4949 },
Original file line number Diff line number Diff line change 11import Portal from '@rc-component/portal' ;
22import { clsx } from 'clsx' ;
33import type { CSSMotionProps } from '@rc-component/motion' ;
4- import ResizeObserver from '@rc-component/resize-observer' ;
4+ // TODO: Replace ResizeObserver with useResizeObserver
5+ import ResizeObserver , { useResizeObserver } from '@rc-component/resize-observer' ;
56import { isDOM } from '@rc-component/util/lib/Dom/findDOMNode' ;
67import { getShadowRoot } from '@rc-component/util/lib/Dom/shadow' ;
78import useEvent from '@rc-component/util/lib/hooks/useEvent' ;
You can’t perform that action at this time.
0 commit comments