UNPKG

@blocknote/shadcn

Version:

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

12 lines (11 loc) 684 B
import { type VariantProps } from "class-variance-authority"; import * as React from "react"; 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.js").ClassProp) | undefined) => string; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { asChild?: boolean; } declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; export { Button, buttonVariants };