no message

Former-commit-id: e56d52ae1e817adb053f6d20bad490379bf6b8b7
Former-commit-id: b6641ea988e7dab68cc11ae212c32f32923e1cf3
Former-commit-id: a4e3d1e9d3998e7fb34266719f8d55980078dcfd
This commit is contained in:
liyang
2018-06-10 08:51:27 +08:00
parent 58ec52afac
commit 5e1f4e9a36
23 changed files with 45 additions and 42 deletions

View File

@@ -0,0 +1,22 @@
<template>
<svg aria-hidden="true">
<use :xlink:href="icon"></use>
</svg>
</template>
<script>
export default {
name: 'd2-icon-svg',
props: {
name: {
type: String,
required: true
}
},
computed: {
icon () {
return `#d2-${this.name}`
}
}
}
</script>