Latest updates from IceHrmPro
This commit is contained in:
24
web/node_modules/antd/es/modal/ActionButton.d.ts
generated
vendored
Normal file
24
web/node_modules/antd/es/modal/ActionButton.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import * as React from 'react';
|
||||
import { ButtonType, ButtonProps } from '../button/button';
|
||||
export interface ActionButtonProps {
|
||||
type?: ButtonType;
|
||||
actionFn?: (...args: any[]) => any | PromiseLike<any>;
|
||||
closeModal: Function;
|
||||
autoFocus?: boolean;
|
||||
buttonProps?: ButtonProps;
|
||||
}
|
||||
export interface ActionButtonState {
|
||||
loading: ButtonProps['loading'];
|
||||
}
|
||||
export default class ActionButton extends React.Component<ActionButtonProps, ActionButtonState> {
|
||||
timeoutId: number;
|
||||
clicked: boolean;
|
||||
state: {
|
||||
loading: boolean;
|
||||
};
|
||||
componentDidMount(): void;
|
||||
componentWillUnmount(): void;
|
||||
handlePromiseOnOk(returnValueOfOnOk?: PromiseLike<any>): void;
|
||||
onClick: () => void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
Reference in New Issue
Block a user