This repository has been archived on 2025-05-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Astral-nook/resources/assets/scripts/components/core/Icon.vue
2019-02-09 21:14:58 -08:00

18 lines
367 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>