UNPKG

lightswind

Version:

A professionally designed component library & templates market that brings together functionality, accessibility, and beautiful aesthetics for modern applications.

16 lines (15 loc) 874 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const badgeVariants: (props?: ({ variant?: "default" | "destructive" | "success" | "warning" | "info" | "outline" | "secondary" | null | undefined; size?: "default" | "sm" | "lg" | null | undefined; shape?: "default" | "square" | "rounded" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> { withDot?: boolean; dotColor?: string; interactive?: boolean; highlighted?: boolean; } declare function Badge({ className, variant, size, shape, withDot, dotColor, interactive, highlighted, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element; export { Badge, badgeVariants };