Skip to content

Commit

Permalink
feat: pass fresh (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Sep 22, 2023
1 parent 595be48 commit f3ffdb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@rc-component/trigger": "^1.10.0",
"@rc-component/trigger": "^1.17.0",
"classnames": "^2.3.1"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { forwardRef, useImperativeHandle, useRef } from 'react';
import { placements } from './placements';
import Popup from './Popup';

export interface TooltipProps extends Pick<TriggerProps, 'onPopupAlign' | 'builtinPlacements'> {
export interface TooltipProps
extends Pick<TriggerProps, 'onPopupAlign' | 'builtinPlacements' | 'fresh'> {
trigger?: ActionType | ActionType[];
defaultVisible?: boolean;
visible?: boolean;
Expand Down

0 comments on commit f3ffdb1

Please sign in to comment.