@adventera/vectara-ui
Version:
Vectara's design system, codified as a React component library
15 lines (14 loc) • 602 B
TypeScript
import { MouseEvent } from "react";
import { Props as LinkProps } from "../link/Link";
declare const COLOR: readonly ["accent", "primary", "danger", "success", "normal"];
type Props = {
children: React.ReactNode;
className?: string;
color: (typeof COLOR)[number];
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
href?: LinkProps["href"];
target?: LinkProps["target"];
track?: LinkProps["track"];
};
export declare const VuiBadge: ({ children, className, color, onClick, href, target, track, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
export {};