Skip to content

Commit caf656b

Browse files
committed
chore: replace content
1 parent 63aee65 commit caf656b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Diff for: package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -45,11 +45,9 @@
4545
"@rc-component/father-plugin": "^2.0.1",
4646
"@rc-component/trigger": "^2.0.0",
4747
"@rc-component/util": "^1.0.1",
48-
"classnames": "^2.3.1",
49-
"rc-util": "^5.44.3"
48+
"classnames": "^2.3.1"
5049
},
5150
"devDependencies": {
52-
"@rc-component/father-plugin": "^1.0.0",
5351
"@testing-library/react": "^14.0.0",
5452
"@types/jest": "^29.4.0",
5553
"@types/react": "^18.0.26",

Diff for: src/Tooltip.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { ArrowType, TriggerProps, TriggerRef } from '@rc-component/trigger';
22
import Trigger from '@rc-component/trigger';
33
import type { ActionType, AlignType } from '@rc-component/trigger/lib/interface';
4+
import useId from '@rc-component/util/lib/hooks/useId';
45
import classNames from 'classnames';
56
import * as React from 'react';
67
import { forwardRef, useImperativeHandle, useRef } from 'react';
78
import { placements } from './placements';
89
import Popup from './Popup';
9-
import useId from 'rc-util/lib/hooks/useId';
1010

1111
export 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

6262
const Tooltip = (props: TooltipProps, ref: React.Ref<TooltipRef>) => {
6363
const {

0 commit comments

Comments
 (0)