refactor(subtree): duplicate bx in icon name

This commit is contained in:
Elian Doran 2025-06-17 20:32:10 +03:00
parent bde3f0a55c
commit 40086434ec
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export default function buildHiddenSubtreeTemplates() {
id: "_template_text_snippet", id: "_template_text_snippet",
type: "text", type: "text",
title: "Text Snippet", title: "Text Snippet",
icon: "bx bx-align-left", icon: "bx-align-left",
attributes: [ attributes: [
{ {
name: "template", name: "template",

View File

@ -23,6 +23,9 @@ export interface HiddenSubtreeItem {
id: string; id: string;
title: string; title: string;
type: LauncherNoteType; type: LauncherNoteType;
/**
* The icon to use for this item, in the format "bx-icon-name" (e.g., `bx-file-blank`), *without* the leading `bx `.
*/
icon?: string; icon?: string;
attributes?: HiddenSubtreeAttribute[]; attributes?: HiddenSubtreeAttribute[];
children?: HiddenSubtreeItem[]; children?: HiddenSubtreeItem[];