@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
11 lines (10 loc) • 521 B
TypeScript
export declare const PATCH_COLOR: readonly ["primary", "accent", "success", "warning", "danger", "red", "orange", "amber", "lime", "emerald", "teal", "sky", "indigo", "purple", "fuchsia", "pink", "slate"];
export type PatchColor = (typeof PATCH_COLOR)[number];
type Props = {
color: PatchColor;
size?: "xs" | "s" | "m";
children?: React.ReactNode;
"data-testid"?: string;
};
export declare const VuiPatch: ({ color, size, children, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
export {};