js-draw
Version:
Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.
16 lines (15 loc) • 398 B
TypeScript
import type Editor from '../Editor';
export interface AboutDialogLink {
kind: 'link';
text: string;
href: string;
}
export interface AboutDialogEntry {
heading: string | AboutDialogLink;
text?: string;
minimized?: boolean;
}
declare const makeAboutDialog: (editor: Editor, entries: AboutDialogEntry[]) => {
close: () => Promise<void>;
};
export default makeAboutDialog;