@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
11 lines (10 loc) • 590 B
TypeScript
import { VariantProps } from 'class-variance-authority';
import { ComponentProps } from 'react';
declare const badgeVariants: (props?: ({
variant?: "default" | "outline" | "secondary" | "destructive" | "destructiveLight" | null | undefined;
size?: "sm" | "lg" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export interface BadgeProps extends ComponentProps<"div">, VariantProps<typeof badgeVariants> {
}
export declare const Badge: ({ className, variant, size, ...props }: BadgeProps) => import("react").JSX.Element;
export {};