UNPKG

magner

Version:

Universal admin panel magnetic to any backend

13 lines (12 loc) 493 B
import { API as EditorApi } from '@editorjs/editorjs'; import { EditorTools } from '../../../types/form/fields/editor'; declare const setupEditor: (data: { holder: string; placeholder: string; autofocus?: boolean | undefined; data?: any; readOnly?: boolean | undefined; onReady?: (() => void) | undefined; onChange: (editor: EditorApi) => void; }, tools: EditorTools | undefined) => Promise<import("@editorjs/editorjs").default | null>; export default setupEditor;