mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 21:29:56 +01:00
feat(layout/inline-title): add icons
This commit is contained in:
@@ -144,6 +144,7 @@ function NoteTypeSwitcher() {
|
||||
<Badge
|
||||
key={noteType.type}
|
||||
text={noteType.title}
|
||||
icon={`bx ${noteType.icon}`}
|
||||
onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user