Skip to content

Commit dc423e7

Browse files
dexifrstoenescu
authored andcommitted
feature: quasarframework#980 added mdi icons support (quasarframework#1086)
1 parent f73e51c commit dc423e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/icon/QIcon.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export default {
3131
else if (icon.startsWith('ion-') || icon.startsWith('icon-')) {
3232
name = `${icon}`
3333
}
34+
else if (icon.startsWith('mdi-')) {
35+
name = "mdi " + icon;
36+
}
3437
else {
3538
name = 'material-icons'
3639
text = icon.replace(/ /g, '_')

0 commit comments

Comments
 (0)