@plait/mind
Version:
Implementation of the core logic of the mind map plugin.
6 lines (5 loc) • 353 B
TypeScript
import { PlaitBoard } from '@plait/core';
import { ImageData, MindElement } from '../interfaces';
import { CommonImageItem } from '@plait/common';
export declare const removeImage: (board: PlaitBoard, element: MindElement<ImageData>) => void;
export declare const setImage: (board: PlaitBoard, element: MindElement, imageItem: CommonImageItem) => void;