refactor(components): update icon component
merge styles passed in from a parent component inline
This commit is contained in:
parent
7932152025
commit
bb6d05be72
@ -24,7 +24,8 @@
|
||||
<template>
|
||||
<i
|
||||
:style="{
|
||||
fontSize: `${size}${propUnit}`,
|
||||
...$attrs.style,
|
||||
fontSize: pixi,
|
||||
color: icolor || 'currentcolor',
|
||||
}"
|
||||
:class="`fa${styleMap[istyle]} fa-${name}`"
|
||||
|
Loading…
Reference in New Issue
Block a user