add supported prefix comment
This commit is contained in:
parent
5353897684
commit
9a8f40145c
@ -26,6 +26,7 @@ export default function ResolvedIcon({ icon, width = 32, height = 32, alt = "log
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check mdi- or si- prefixed icons
|
||||||
const prefix = icon.split("-")[0]
|
const prefix = icon.split("-")[0]
|
||||||
const prefixPaths = {
|
const prefixPaths = {
|
||||||
'mdi': "https://cdn.jsdelivr.net/npm/@mdi/svg@latest/svg/",
|
'mdi': "https://cdn.jsdelivr.net/npm/@mdi/svg@latest/svg/",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user