DecorationSource
An object that can provide
decorations. Implemented by DecorationSet
,
and passed to node views.
interface DecorationSource {
map: (mapping: Mapping, node: Node) => DecorationSource;
}An object that can provide
decorations. Implemented by DecorationSet
,
and passed to node views.