import React from "react"; import { ControlsProps } from "../../common/controls.type"; import { IconProp } from "../icon"; type ButtonType = "default" | "primary" | "outline" | "plain" | "borderless" | "text"; export interface ButtonProps extends ControlsProps, Omit, "size"> { type?: ButtonType; htmlType?: "button" | "submit" | "reset"; loading?: boolean; children?: string | string[] | React.ReactElement; icon?: IconProp; suffixIcon?: IconProp; } declare const Button: ({ type, size, loading, disabled, success, error, warning, children, icon, suffixIcon, htmlType, ...restProps }: ButtonProps) => React.JSX.Element; export default Button;