UNPKG

yqcloud-ui

Version:

An enterprise-class UI design language and React-based implementation

19 lines (18 loc) 524 B
/// <reference types="react" /> import * as React from 'react'; export interface ActionButtonProps { okProps?: any; cancelProps?: any; autoFocus?: boolean; } export interface ActionButtonState { loading: boolean; } export default class ActionButton extends React.Component<ActionButtonProps, ActionButtonState> { timeoutId: number; constructor(props: ActionButtonProps); componentDidMount(): void; componentWillUnmount(): void; onClick: (props: any) => void; render(): JSX.Element; }