@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
18 lines (17 loc) • 552 B
TypeScript
import { Intent as BlueprintIntent } from "@blueprintjs/core";
export type IntentBlueprint = BlueprintIntent;
export declare const DefinitionsBlueprint: {
NONE: "none";
PRIMARY: "primary";
SUCCESS: "success";
WARNING: "warning";
DANGER: "danger";
};
export type IntentTypes = IntentBlueprint | "neutral" | "accent" | "info";
export declare const Definitions: {
[key: string]: IntentTypes;
};
export declare const intentClassName: (intent: IntentTypes) => string;
export declare const ClassNames: {
[key: string]: string;
};