hotelier-lib
Version:
A skeleton to create your own React component library using Rollup, TypeScript, Sass and Storybook
10 lines (9 loc) • 517 B
TypeScript
import * as React from "react";
import { type VariantProps } from "class-variance-authority";
declare const badgeVariants: (props?: {
variant?: "default" | "secondary" | "destructive" | "outline";
} & 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): React.JSX.Element;
export { Badge, badgeVariants };