@geist-ui/react
Version:
Modern and minimalist React UI library.
20 lines (19 loc) • 1.46 kB
TypeScript
export declare const tuple: <T extends string[]>(...args: T) => T;
export declare const tupleNumber: <T extends number[]>(...args: T) => T;
declare const buttonTypes: ["default", "secondary", "success", "warning", "error", "abort", "secondary-light", "success-light", "warning-light", "error-light"];
declare const normalTypes: ["default", "secondary", "success", "warning", "error"];
declare const snippetTypes: ["default", "secondary", "success", "warning", "error", "dark", "lite"];
declare const cardTypes: ["default", "secondary", "success", "warning", "error", "dark", "lite", "alert", "purple", "violet", "cyan"];
declare const copyTypes: ["default", "silent", "prevent"];
declare const triggerTypes: ["hover", "click"];
declare const placement: ["top", "topStart", "topEnd", "left", "leftStart", "leftEnd", "bottom", "bottomStart", "bottomEnd", "right", "rightStart", "rightEnd"];
declare const dividerAlign: ["start", "center", "end", "left", "right"];
export declare type ButtonTypes = typeof buttonTypes[number];
export declare type NormalTypes = typeof normalTypes[number];
export declare type SnippetTypes = typeof snippetTypes[number];
export declare type CardTypes = typeof cardTypes[number];
export declare type CopyTypes = typeof copyTypes[number];
export declare type TriggerTypes = typeof triggerTypes[number];
export declare type Placement = typeof placement[number];
export declare type DividerAlign = typeof dividerAlign[number];
export {};