UNPKG

reactjs-tiptap-editor

Version:

A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React

12 lines (11 loc) 671 B
import { VariantProps } from 'class-variance-authority'; import * as React from 'react'; declare const buttonVariants: (props?: ({ variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined; size?: "icon" | "default" | "sm" | "lg" | null | undefined; } & import('class-variance-authority/types').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 };