UNPKG

@bao-ui/react

Version:

Styled React components built on Base UI primitives

11 lines 628 B
import * as React from 'react'; import { type VariantProps } from 'class-variance-authority'; declare const badgeVariants: (props?: ({ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | null | undefined; size?: "default" | "sm" | "lg" | null | undefined; } & any) | undefined) => string; export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> { } declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>>; export { Badge, badgeVariants }; //# sourceMappingURL=Badge.d.ts.map