UNPKG

@blocknote/shadcn

Version:

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

11 lines (10 loc) 639 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const buttonVariants: (props?: ({ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined; size?: "default" | "sm" | "lg" | "icon" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & { asChild?: boolean; }): import("react/jsx-runtime").JSX.Element; export { Button, buttonVariants };