UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

20 lines (19 loc) 613 B
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;