File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " rc-tooltip" ,
3- "version" : " 6.4. 0" ,
2+ "name" : " @ rc-component/ tooltip" ,
3+ "version" : " 1.0.0- 0" ,
44 "description" : " React Tooltip" ,
55 "keywords" : [
66 " react" ,
4242 },
4343 "dependencies" : {
4444 "@babel/runtime" : " ^7.11.2" ,
45+ "@rc-component/father-plugin" : " ^2.0.1" ,
4546 "@rc-component/trigger" : " ^2.0.0" ,
46- "classnames " : " ^2.3 .1" ,
47- "rc-util " : " ^5.44.3 "
47+ "@rc-component/util " : " ^1.0 .1" ,
48+ "classnames " : " ^2.3.1 "
4849 },
4950 "devDependencies" : {
50- "@rc-component/father-plugin" : " ^1.0.0" ,
5151 "@testing-library/react" : " ^14.0.0" ,
5252 "@types/jest" : " ^29.4.0" ,
5353 "@types/react" : " ^18.0.26" ,
Original file line number Diff line number Diff line change 11import type { ArrowType , TriggerProps , TriggerRef } from '@rc-component/trigger' ;
22import Trigger from '@rc-component/trigger' ;
33import type { ActionType , AlignType } from '@rc-component/trigger/lib/interface' ;
4+ import useId from '@rc-component/util/lib/hooks/useId' ;
45import classNames from 'classnames' ;
56import * as React from 'react' ;
67import { forwardRef , useImperativeHandle , useRef } from 'react' ;
78import { placements } from './placements' ;
89import Popup from './Popup' ;
9- import useId from 'rc-util/lib/hooks/useId' ;
1010
1111export interface TooltipProps
1212 extends Pick <
@@ -57,7 +57,7 @@ export interface TooltipClassNames {
5757 body ?: string ;
5858}
5959
60- export interface TooltipRef extends TriggerRef { }
60+ export interface TooltipRef extends TriggerRef { }
6161
6262const Tooltip = ( props : TooltipProps , ref : React . Ref < TooltipRef > ) => {
6363 const {
You can’t perform that action at this time.
0 commit comments