import React from 'react'; export declare type ButtonSize = 'lg' | 'sm'; export declare type ButtonType = 'primary' | 'default' | 'danger' | 'link'; interface BaseButtonProps { className?: string; /**设置 Button 的禁用 */ disabled?: boolean; /**设置 Button 的尺寸 */ size?: ButtonSize; /**设置 Button 的类型 */ btnType?: ButtonType; children?: React.ReactNode; href?: string; } declare type NativeButtonProps = BaseButtonProps & React.ButtonHTMLAttributes; declare type AnchorButtonProps = BaseButtonProps & React.AnchorHTMLAttributes; export declare type ButtonProps = Partial; /** * 页面中最常用的的按钮元素,适合于完成特定的交互,支持 HTML button 和 a 链接 的所有属性 * ### 引用方法 * * ```javascript * import { Button } from 'jw-ui-react' * ``` */ export declare const Button: React.FC; export default Button;