refactor(components): update icon component

merge styles passed in from a parent component inline
This commit is contained in:
parent 7932152025
commit bb6d05be72
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -24,7 +24,8 @@
<template> <template>
<i <i
:style="{ :style="{
fontSize: `${size}${propUnit}`, ...$attrs.style,
fontSize: pixi,
color: icolor || 'currentcolor', color: icolor || 'currentcolor',
}" }"
:class="`fa${styleMap[istyle]} fa-${name}`" :class="`fa${styleMap[istyle]} fa-${name}`"