YesPlayMusic/src/components/ExplicitSymbol.vue
2021-04-26 16:31:03 +08:00

33 lines
513 B
Vue

<template>
<svg-icon icon-class="explicit" :style="svgStyle"></svg-icon>
</template>
<script>
import SvgIcon from '@/components/SvgIcon.vue';
export default {
name: 'ExplicitSymbol',
components: {
SvgIcon,
},
props: {
size: {
type: Number,
default: 16,
},
},
data() {
return {
svgStyle: {},
};
},
created() {
this.svgStyle = {
height: this.size + 'px',
width: this.size + 'px',
};
},
};
</script>
<style lang="scss" scoped></style>