MCPcopy
hub / github.com/markmap/markmap / IToolbarItem

Interface IToolbarItem

packages/markmap-toolbar/src/toolbar.tsx:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import './style.css';
4
5export interface IToolbarItem {
6 id?: string;
7 title?: string;
8 content: VChildren;
9 onClick?: (e: Event) => void;
10}
11
12const clsToolbarItem = 'mm-toolbar-item';
13const clsActive = 'active';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected