amis-rpc-design/node_modules/antd/es/modal/components/ConfirmOkBtn.d.ts

10 lines
539 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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?: string | number | true | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>;
}
declare const ConfirmOkBtn: FC;
export default ConfirmOkBtn;