UNPKG

modo-mobile

Version:

A mobile UI toolkit, based on React

27 lines 866 B
import * as React from 'react'; import { IButtonPropsType } from './PropsType'; export interface IButtonProps extends IButtonPropsType { prefixCls?: string; className?: string; inline?: boolean; icon?: string; shape?: 'circle' | 'circle-outline'; style?: React.CSSProperties; htmlType?: 'submit' | 'button' | 'reset'; size?: 'large' | 'small'; onClick?: React.MouseEventHandler<HTMLAnchorElement>; } declare class Button extends React.PureComponent<IButtonProps, any> { static defaultProps: { disabled: boolean; inline: boolean; loading: boolean; size: string; prefixCls: string; }; handleClick: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>; isNeedInserted(): boolean; render(): JSX.Element; } export default Button; //# sourceMappingURL=index.d.ts.map