UNPKG

aurora-topu

Version:
18 lines (17 loc) 716 B
import React from 'react'; import './_style.scss'; export type ButtonSize = 'lg' | 'sm'; export type ButtonType = 'primary' | 'default' | 'danger' | 'link'; interface BaseButtonProps { className?: string; disabled?: boolean; size?: ButtonSize; btnType?: ButtonType; children?: React.ReactNode; href?: string; } type NativeButtonProps = BaseButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>; type AnchorButtonProps = BaseButtonProps & React.AnchorHTMLAttributes<HTMLAnchorElement>; export type ButtonProps = Partial<NativeButtonProps & AnchorButtonProps>; declare const _default: import("react").MemoExoticComponent<React.FC<Partial<any>>>; export default _default;