mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Draggable container -> script setup
This commit is contained in:
parent
58638ceb80
commit
47bc84e543
|
@ -1,7 +1,9 @@
|
|||
<template>
|
||||
<div class="card h-100 w-100">
|
||||
<div class="drag-header card-header">
|
||||
{{ header }}
|
||||
<slot name="header">
|
||||
{{ header }}
|
||||
</slot>
|
||||
</div>
|
||||
<div class="card-body h-100 w-100 overflow-auto">
|
||||
<slot></slot>
|
||||
|
@ -9,14 +11,9 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'DraggableContainer',
|
||||
props: {
|
||||
header: { required: true, type: String },
|
||||
},
|
||||
<script setup lang="ts">
|
||||
defineProps({
|
||||
header: { required: true, type: String },
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user