mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			627 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			627 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <base-icon
 | 
						|
    :size="size"
 | 
						|
    :icon="icon"
 | 
						|
    :type="type"
 | 
						|
    :icons="icons"
 | 
						|
    :view-box="viewBox"
 | 
						|
  />
 | 
						|
</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',
 | 
						|
    },
 | 
						|
    viewBox: {
 | 
						|
      type: String,
 | 
						|
      default: '0 0 24 24',
 | 
						|
    },
 | 
						|
  },
 | 
						|
  data() {
 | 
						|
    return { icons };
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 |