Chatwoot/app/javascript/shared/components/FluentIcon/DashboardIcon.vue
Nithin David Thomas 666028a443
feat: Adds multiple path support for fluent icons (#3665)
* feat: Adds multiple path support for icons

* Changes dashboard icon
2021-12-29 18:01:49 +05:30

31 lines
515 B
Vue

<template>
<base-icon :size="size" :icon="icon" :type="type" :icons="icons" />
</template>
<script>
import BaseIcon from './Icon';
import icons from './dashboard-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>