DataRoom/data-room-ui/packages/Svgs/index.vue

30 lines
398 B
Vue

<template>
<icon-svg
:name="config.icon"
class="page-opt-list-icon icon-box"
/>
</template>
<script>
import IconSvg from 'data-room-ui/SvgIcon'
export default {
name: 'Svgs',
components: {
IconSvg
},
props: {
config: {
type: Object,
default: () => ({})
}
}
}
</script>
<style lang="scss" scoped>
.icon-box {
width: 100%;
height: 100%;
}
</style>