diff --git a/components/popconfirm/index.tsx b/components/popconfirm/index.tsx index 2d5f27532e..39467466b0 100644 --- a/components/popconfirm/index.tsx +++ b/components/popconfirm/index.tsx @@ -1,19 +1,19 @@ -import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled'; +import * as React from 'react'; import classNames from 'classnames'; import useMergedState from 'rc-util/lib/hooks/useMergedState'; +import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled'; import KeyCode from 'rc-util/lib/KeyCode'; -import * as React from 'react'; +import Tooltip, { AbstractTooltipProps } from '../tooltip'; import Button from '../button'; -import { ButtonProps, convertLegacyProps, LegacyButtonType } from '../button/button'; -import { ConfigContext } from '../config-provider'; +import { LegacyButtonType, ButtonProps, convertLegacyProps } from '../button/button'; import LocaleReceiver from '../locale-provider/LocaleReceiver'; import defaultLocale from '../locale/default'; -import Tooltip, { AbstractTooltipProps } from '../tooltip'; -import ActionButton from '../_util/ActionButton'; +import { ConfigContext } from '../config-provider'; import { getRenderPropValue, RenderFunction } from '../_util/getRenderPropValue'; -import useMountedRef from '../_util/hooks/useMountedRef'; -import { getTransitionName } from '../_util/motion'; import { cloneElement } from '../_util/reactNode'; +import { getTransitionName } from '../_util/motion'; +import ActionButton from '../_util/ActionButton'; +import useMountedRef from '../_util/hooks/useMountedRef'; export interface PopconfirmProps extends AbstractTooltipProps { title: React.ReactNode | RenderFunction;