mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-08-30 02:29:55 +08:00
12 lines
223 B
Vue
12 lines
223 B
Vue
<template>
|
|
<component :is="uiComponent.component">
|
|
<slot></slot>
|
|
</component>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { getConfig } from './config';
|
|
|
|
const uiComponent = getConfig('components').icon;
|
|
</script>
|