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>