EditorPanelBadge beta
TypeAlias of @v12-engine/editor
ts
export type EditorPanelBadge = number | string | {
value: number | string;
tone?: 'danger' | 'warning';
tip?: string;
};What a panel's icon has on it beside its name: a count or a few words, or either with a tone (danger for errors, warning) and what its tooltip says