Skip to content

Commit

Permalink
fix: use the innerHTML property to render icon content (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: aut8 <akkapon@sellsuki.com>
  • Loading branch information
aut8 and aut8 committed Apr 24, 2021
1 parent cecbf9a commit a08bef5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/vue-feather.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,8 @@ export default defineComponent({
'stroke-width': this.strokeWidth,
width: size,
class: [icon.attrs.class, 'vue-feather__content'],
innerHTML: icon.contents,
},
[
h({
template: icon.contents,
}),
],
),
],
);
Expand Down

0 comments on commit a08bef5

Please sign in to comment.