thinkasany
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
components/popconfirm/index.tsx
|
|
@ -9,7 +9,7 @@ import { cloneElement } from '../_util/reactNode'; |
|
|
|
import type { ButtonProps, LegacyButtonType } from '../button/button'; |
|
|
|
import { ConfigContext } from '../config-provider'; |
|
|
|
import Popover from '../popover'; |
|
|
|
import type { AbstractTooltipProps } from '../tooltip'; |
|
|
|
import type { AbstractTooltipProps, TooltipRef } from '../tooltip'; |
|
|
|
import PurePanel, { Overlay } from './PurePanel'; |
|
|
|
import usePopconfirmStyle from './style'; |
|
|
|
|
|
|
@ -37,7 +37,7 @@ export interface PopconfirmState { |
|
|
|
open?: boolean; |
|
|
|
} |
|
|
|
|
|
|
|
const Popconfirm = React.forwardRef<unknown, PopconfirmProps>((props, ref) => { |
|
|
|
const Popconfirm = React.forwardRef<TooltipRef, PopconfirmProps>((props, ref) => { |
|
|
|
const { |
|
|
|
prefixCls: customizePrefixCls, |
|
|
|
placement = 'top', |
|
|
|