docs(drawer): update

This commit is contained in:
Benjamin Canac
2024-08-22 16:58:47 +02:00
parent 7b278b041c
commit 5428005512
9 changed files with 262 additions and 19 deletions

View File

@@ -0,0 +1,17 @@
<script setup lang="ts">
const open = ref(false)
defineShortcuts({
o: () => open.value = !open.value
})
</script>
<template>
<UDrawer v-model:open="open">
<UButton label="Open" color="gray" variant="subtle" trailing-icon="i-heroicons-chevron-up-20-solid" />
<template #content>
<Placeholder class="h-48 m-4" />
</template>
</UDrawer>
</template>