@easy-shadcn/react
Version:
Use shadcn/ui easy&enhance like component library
14 lines (11 loc) • 668 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as class_variance_authority_types from 'class-variance-authority/types';
import * as React from 'react';
import { VariantProps } from 'class-variance-authority';
declare const badgeVariants: (props?: ({
variant?: "outline" | "default" | "destructive" | "secondary" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
}
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
export { Badge, type BadgeProps };