UNPKG

@empoleon/tiptap

Version:

Rich text editor based on tiptap

17 lines (16 loc) 705 B
import { BoxProps, CompoundStylesApiProps, ElementProps, Factory } from '@empoleon/core'; export type RichTextEditorContentStylesNames = 'root'; export interface RichTextEditorContentProps extends BoxProps, CompoundStylesApiProps<RichTextEditorContentFactory>, ElementProps<'div'> { } export type RichTextEditorContentFactory = Factory<{ props: RichTextEditorContentProps; ref: HTMLDivElement; stylesNames: RichTextEditorContentStylesNames; compound: true; }>; export declare const RichTextEditorContent: import("@empoleon/core").EmpoleonComponent<{ props: RichTextEditorContentProps; ref: HTMLDivElement; stylesNames: RichTextEditorContentStylesNames; compound: true; }>;