acud
Version:
acg react 组件库
16 lines (15 loc) • 497 B
TypeScript
import * as React from 'react';
import { ButtonProps, ButtonType } from '../button/button';
export interface ActionButtonProps {
type?: ButtonType;
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;