ConfirmOkBtn.d.ts 435 B

123456789
  1. import type { FC } from 'react';
  2. import React from 'react';
  3. import type { ConfirmDialogProps } from '../ConfirmDialog';
  4. export interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent' | 'okType' | 'okButtonProps' | 'rootPrefixCls' | 'onConfirm' | 'onOk'> {
  5. autoFocusButton?: false | 'ok' | 'cancel' | null;
  6. okTextLocale?: React.ReactNode;
  7. }
  8. declare const ConfirmOkBtn: FC;
  9. export default ConfirmOkBtn;