feat(layout/inline-title): add icons

This commit is contained in:
Elian Doran
2025-12-13 12:28:22 +02:00
parent 5145ce2d23
commit 02fab16475

View File

@@ -144,6 +144,7 @@ function NoteTypeSwitcher() {
<Badge <Badge
key={noteType.type} key={noteType.type}
text={noteType.title} text={noteType.title}
icon={`bx ${noteType.icon}`}
onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })} onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })}
/> />
))} ))}