Skip to content

Commit

Permalink
chore: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterliu1003 committed Dec 15, 2023
1 parent 7db7267 commit 507b6c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/components/content/ModalBottom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import { VueFinalModal } from 'vue-final-modal'
defineProps<{
title?: string
}>()
const emit = defineEmits<{
(e: 'close'): void
}>()
</script>

<template>
Expand All @@ -12,6 +16,7 @@ defineProps<{
swipe-to-close="down"
content-transition="vfm-slide-down"
overlay-transition="vfm-fade"
@close="() => emit('close')"
>
<h1 class="text-xl">
{{ title }}
Expand Down

0 comments on commit 507b6c8

Please sign in to comment.