feat: add and use ModalProps interface
This commit is contained in:
parent
6071bbce35
commit
fb452d8a5b
3 changed files with 13 additions and 3 deletions
|
@ -6,8 +6,10 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { ModalProps } from '~/types/interfaces';
|
||||
|
||||
const props = defineProps<{ title: string, heavy?: boolean }>();
|
||||
|
||||
const props = defineProps<ModalProps>();
|
||||
const dialog = ref<HTMLDialogElement>();
|
||||
|
||||
onMounted(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue