import React, { FC, ButtonHTMLAttributes, AnchorHTMLAttributes } from 'react';
export declare type ButtonType = 'primary' | 'default' | 'danger' | 'link';
export declare type ButtonSize = 'lg' | 'md' | 'sm';
interface IBaseButtonProps {
/** 按钮的大小 */
size?: ButtonSize;
/** 按钮的类型 */
type?: ButtonType;
/** 按钮是否禁用 */
disabled?: boolean;
/** 同A标签的原生属性 */
href?: string;
className?: string;
children?: React.ReactNode;
}
declare type INativeButtonProps = ButtonHTMLAttributes;
declare type INativeAnchorProps = AnchorHTMLAttributes;
export declare type ButtonProps = IBaseButtonProps & Omit;
/**
* 页面中最常用的的按钮元素,适合于完成特定的交互
* ### 引用方法
* ~~~js
* import { Button } from 'button-ui-react'
* ~~~
*/
export declare const Button: FC;
export default Button;