PromoCursed/node_modules/antd/lib/modal/components/ConfirmCancelBtn.d.ts

11 lines
582 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { FC } from 'react';
import React from 'react';
import type { ConfirmDialogProps } from '../ConfirmDialog';
export interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonProps' | 'isSilent' | 'rootPrefixCls' | 'close' | 'onConfirm' | 'onCancel'> {
autoFocusButton?: false | 'ok' | 'cancel' | null;
cancelTextLocale?: string | number | true | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
mergedOkCancel?: boolean;
}
declare const ConfirmCancelBtn: FC;
export default ConfirmCancelBtn;