mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
23 lines
604 B
Vue
23 lines
604 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
count: number
|
|
}>()
|
|
|
|
const emit = defineEmits<{ close: [boolean] }>()
|
|
</script>
|
|
|
|
<template>
|
|
<USlideover :close="{ onClick: () => emit('close', false) }" :description="`This slideover was opened programmatically ${count} times`">
|
|
<template #body>
|
|
<Placeholder class="h-full" />
|
|
</template>
|
|
|
|
<template #footer>
|
|
<div class="flex gap-2">
|
|
<UButton color="neutral" label="Dismiss" @click="emit('close', false)" />
|
|
<UButton label="Success" @click="emit('close', true)" />
|
|
</div>
|
|
</template>
|
|
</USlideover>
|
|
</template>
|