antd
Version:
An enterprise-class UI design language and React components implementation
13 lines (12 loc) • 744 B
TypeScript
import React from 'react';
export declare const isTwoCNChar: any;
export declare function isString(str: any): boolean;
export declare function isUnBorderedButtonType(type?: ButtonType): boolean;
export declare function spaceChildren(children: React.ReactNode, needInserted: boolean): (number | JSX.Element)[] | null | undefined;
declare const ButtonTypes: readonly ["default", "primary", "ghost", "dashed", "link", "text"];
export type ButtonType = typeof ButtonTypes[number];
declare const ButtonShapes: readonly ["default", "circle", "round"];
export type ButtonShape = typeof ButtonShapes[number];
declare const ButtonHTMLTypes: readonly ["submit", "button", "reset"];
export type ButtonHTMLType = typeof ButtonHTMLTypes[number];
export {};