import React from 'react'; declare type ButtonSize = 'lg' | 'sm'; declare type ButtonType = 'primary' | 'default' | 'danger' | 'link'; interface BaseButtonProps { className?: string; disabled?: boolean; size?: ButtonSize; btnType?: ButtonType; children: React.ReactNode; /** 仅仅当btnType为link时必填 */ href?: string; } declare type NativeButton = BaseButtonProps & React.ButtonHTMLAttributes; declare type AnchorButton = BaseButtonProps & React.AnchorHTMLAttributes; export declare type ButtonProps = Partial; /** #### button按钮使用方式 ~~~ js import { Button } from 'hongguang-style' ~~~ */ export declare const Button: React.FC; export {};