UNPKG

@ouim/simple-logto

Version:

A simpler way to use @logto/react with prebuilt UI components and hooks for fast authentication setup

10 lines (9 loc) 558 B
import * as React from 'react'; import { type VariantProps } from 'class-variance-authority'; declare const badgeVariants: (props?: ({ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> { } declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element; export { Badge, badgeVariants };