UNPKG

denwa-react-shared

Version:
12 lines (11 loc) 512 B
import { BaseEditor } from 'slate'; import { ReactEditor } from 'slate-react'; import { BaseTextEditorProps, BaseTextEditorRefMethods, CustomElement, CustomText } from './types'; declare module 'slate' { interface CustomTypes { Editor: BaseEditor & ReactEditor; Element: CustomElement; Text: CustomText; } } export declare const BaseTextEditor: import('react').ForwardRefExoticComponent<Omit<BaseTextEditorProps, "ref"> & import('react').RefAttributes<BaseTextEditorRefMethods>>;