/*
*
* Copyright (C) THL A29 Limited, a Tencent company. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
*/
<template>
<svg class="svg-icon" aria-hidden="true">
<use :href="iconName"></use>
</svg>
</template>
<script lang='ts'>
import { Options, Vue } from 'vue-class-component';
@Options({
props: {
name: String,
},
})
export default class IconSvg extends Vue {
}
</script>
<style>
.svg-icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
</style>
-
taifu yuan authored44c77b52