import React from 'react'; import { ButtonTypes } from '../utils/prop-types'; interface Props { type?: ButtonTypes; ghost?: boolean; loading?: boolean; shadow?: boolean; auto?: boolean; effect?: boolean; disabled?: boolean; htmlType?: React.ButtonHTMLAttributes['type']; icon?: React.ReactNode; iconRight?: React.ReactNode; onClick?: React.MouseEventHandler; className?: string; } type NativeAttrs = Omit, keyof Props>; export type ButtonProps = Props & NativeAttrs; /** * @deprecated use `@brudi/react-button` instead */ declare const Button: React.ForwardRefExoticComponent & import("../use-scale").ScaleProps, "ref"> & React.RefAttributes>; export default Button;