Chatwoot/app/javascript/shared/components/FluentIcon/Index.vue

32 lines
505 B
Vue
Raw Normal View History

<template>
<base-icon :size="size" :icon="icon" :type="type" :icons="icons" />
</template>
<script>
import BaseIcon from './Icon';
import icons from './icons.json';
export default {
name: 'FluentIcon',
components: {
BaseIcon,
},
props: {
icon: {
type: String,
required: true,
},
size: {
type: [String, Number],
default: '20',
},
type: {
type: String,
default: 'outline',
},
},
data() {
return { icons };
},
};
</script>