UNPKG

reactjs-tiptap-editor

Version:

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

24 lines (23 loc) 836 B
import { default as React } from 'react'; import { TooltipContentProps } from '@radix-ui/react-tooltip'; import { ButtonViewReturnComponentProps } from '../types'; export interface ActionButtonProps { icon?: string; title?: string; tooltip?: string; disabled?: boolean; shortcutKeys?: string[]; customClass?: string; loading?: boolean; tooltipOptions?: TooltipContentProps; color?: string; action?: ButtonViewReturnComponentProps['action']; isActive?: ButtonViewReturnComponentProps['isActive']; children?: React.ReactNode; asChild?: boolean; upload?: boolean; initialDisplayedColor?: string; dataState?: boolean; } declare const ActionButton: React.ForwardRefExoticComponent<Partial<ActionButtonProps> & React.RefAttributes<HTMLButtonElement>>; export { ActionButton, };