12345678910111213141516171819 |
- import * as React from 'react';
- import type { ButtonProps, LegacyButtonType } from '../button/button';
- export interface ActionButtonProps {
- type?: LegacyButtonType;
- actionFn?: (...args: any[]) => any | PromiseLike<any>;
- close?: (...args: any[]) => void;
- autoFocus?: boolean;
- prefixCls: string;
- buttonProps?: ButtonProps;
- emitEvent?: boolean;
- quitOnNullishReturnValue?: boolean;
- children?: React.ReactNode;
- /**
- * Do not throw if is await mode
- */
- isSilent?: () => boolean;
- }
- declare const ActionButton: React.FC<ActionButtonProps>;
- export default ActionButton;
|