UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

11 lines (10 loc) 461 B
import type { FC } from 'react'; import React from 'react'; import type { ConfirmDialogProps } from '../ConfirmDialog'; export interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent' | 'okType' | 'okButtonProps' | 'rootPrefixCls' | 'onConfirm' | 'onOk'> { autoFocusButton?: false | 'ok' | 'cancel' | null; okTextLocale?: React.ReactNode; onClose?: () => void; } declare const ConfirmOkBtn: FC; export default ConfirmOkBtn;