DecorationAttrs
A set of attributes to add to a decorated node. Most properties simply directly correspond to DOM attributes of the same name, which will be set to the property's value. These are exceptions:
type DecorationAttrs = {
[attribute: string]: string | undefined;
nodeName?: string;
class?: string;
style?: string;
};