ConfirmCancelBtn.d.ts 478 B

12345678910
  1. import type { FC } from 'react';
  2. import React from 'react';
  3. import type { ConfirmDialogProps } from '../ConfirmDialog';
  4. export interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonProps' | 'isSilent' | 'rootPrefixCls' | 'close' | 'onConfirm' | 'onCancel'> {
  5. autoFocusButton?: false | 'ok' | 'cancel' | null;
  6. cancelTextLocale?: React.ReactNode;
  7. mergedOkCancel?: boolean;
  8. }
  9. declare const ConfirmCancelBtn: FC;
  10. export default ConfirmCancelBtn;