docs(slideover): update

This commit is contained in:
Benjamin Canac
2024-08-23 15:58:08 +02:00
parent 1d1d88d6ee
commit 6ac63b5034
11 changed files with 435 additions and 30 deletions

View File

@@ -0,0 +1,15 @@
<script setup lang="ts">
const modal = useModal()
defineProps<{
count: number
}>()
</script>
<template>
<UModal :title="`This modal was opened programmatically ${count} times`">
<template #footer>
<UButton color="gray" label="Close" @click="modal.close()" />
</template>
</UModal>
</template>