spiderwebai-components
Version:
frontend components like ui, hooks, and more used in spider
10 lines (9 loc) • 530 B
TypeScript
import * as React from 'react';
import { type VariantProps } from 'class-variance-authority';
declare const badgeVariants: (props?: {
variant?: "default" | "outline" | "destructive" | "secondary";
} & import("class-variance-authority/dist/types").ClassProp) => string;
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
}
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
export { Badge, badgeVariants };