linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
16 lines (15 loc) β’ 514 B
TypeScript
import * as React from 'react';
import type { ButtonProps, LegacyButtonType } from '../button/button';
export interface ActionButtonProps {
type?: LegacyButtonType;
actionFn?: (...args: any[]) => any | PromiseLike<any>;
close?: Function;
autoFocus?: boolean;
prefixCls: string;
buttonProps?: ButtonProps;
emitEvent?: boolean;
quitOnNullishReturnValue?: boolean;
children?: React.ReactNode;
}
declare const ActionButton: React.FC<ActionButtonProps>;
export default ActionButton;