UNPKG

@blocknote/shadcn

Version:

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

8 lines (7 loc) 605 B
import { useRender } from "@base-ui/react/use-render"; import { type VariantProps } from "class-variance-authority"; declare const badgeVariants: (props?: ({ variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; export { Badge, badgeVariants };