1 | import React, { CSSProperties, MouseEventHandler } from 'react';
|
2 | import { ButtonPropsType } from './PropsType';
|
3 | export interface ButtonProps extends ButtonPropsType {
|
4 | prefixCls?: string;
|
5 | className?: string;
|
6 | role?: string;
|
7 | inline?: boolean;
|
8 | icon?: string;
|
9 | activeClassName?: string;
|
10 | activeStyle?: boolean | CSSProperties;
|
11 | style?: React.CSSProperties;
|
12 | onClick?: MouseEventHandler<HTMLAnchorElement>;
|
13 | }
|
14 | declare class Button extends React.Component<ButtonProps, any> {
|
15 | static defaultProps: {
|
16 | prefixCls: string;
|
17 | size: string;
|
18 | inline: boolean;
|
19 | disabled: boolean;
|
20 | loading: boolean;
|
21 | activeStyle: {};
|
22 | };
|
23 | render(): JSX.Element;
|
24 | }
|
25 | export default Button;
|