| 123456789101112131415 |
- <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>
|