<template>
   <div>
        <svg class="icon" aria-hidden="true" :height="size" :width="size" :fill="color">
            <use :xlink:href="'#'+name" ></use>
        </svg>
   </div>
</template>

<script lang='ts'>
/**框架*/
import Vue from 'vue'
/**工具库*/
/**类型*/
/**组件*/
/**自定义方法*/

export default Vue.extend({
   name:'',
   props: {
       name: {
           required: true,
           type: String
       },
       color: {
           required: true,
           type: String
       },
       size: {
           required: true,
           type: String
       }
   }
})
</script>

<style scoped lang=''>

</style>