UNPKG

react-antd-cssvars

Version:
13 lines (12 loc) 561 B
import React from "react"; import { ButtonProps } from "antd"; import { ButtonType } from "antd/lib/button/button"; export declare const ExtendButtonTypes: ["secondary", "menu", "success", "warning"]; export declare type IExtendButtonType = typeof ExtendButtonTypes[number]; export declare type TLegacyButton = ButtonType | IExtendButtonType; export interface IButtonProps extends Omit<ButtonProps, "type"> { type?: TLegacyButton; uppercase?: boolean; } declare const ButtonComponent: React.FC<IButtonProps>; export default ButtonComponent;