diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue index b02a5a3..ae6bef3 100644 --- a/src/components/SvgIcon/index.vue +++ b/src/components/SvgIcon/index.vue @@ -37,7 +37,7 @@ export default defineComponent({ name: props.name, 'aria-hidden': true, style: `color: ${props.color}`, - class: 'svg-icon', + class: `svg-icon ${props.className}`, }, h('use', { 'xlink:href': `#icon-${props.name}`,