初始化
This commit is contained in:
29
frontend/packages/Svgs/index.vue
Normal file
29
frontend/packages/Svgs/index.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user