refactor: package chart-ui integrated into plugins (#4238)
* refactor: package chart-ui integrated into plugins * fix: lint error
This commit is contained in:
15
packages/effects/plugins/src/echarts/echarts-ui.vue
Normal file
15
packages/effects/plugins/src/echarts/echarts-ui.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
interface Props {
|
||||
height?: string;
|
||||
width?: string;
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
height: '300px',
|
||||
width: '100%',
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-bind="$attrs" :style="{ height, width }"></div>
|
||||
</template>
|
Reference in New Issue
Block a user