PteroTheme/resources/assets/scripts/components/core/Icon.vue

19 lines
365 B
Vue

<template>
<i :data-feather="name"></i>
</template>
<script lang="ts">
import Vue from 'vue';
import {replace} from 'feather-icons';
export default Vue.extend({
name: 'Icon',
props: {
name: {type: String, default: 'circle'},
},
mounted: function () {
replace();
},
});
</script>