UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

16 lines (15 loc) 803 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const badgeVariants: (props?: { variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info"; size?: "default" | "sm" | "lg"; shape?: "default" | "rounded" | "square"; } & import("class-variance-authority/dist/types").ClassProp) => 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 };