mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
docs(popover): update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
const open = ref(true)
|
||||
const open = ref(false)
|
||||
|
||||
defineShortcuts({
|
||||
o: () => open.value = !open.value
|
||||
@@ -8,6 +8,6 @@ defineShortcuts({
|
||||
|
||||
<template>
|
||||
<UTooltip v-model:open="open" text="Open on GitHub">
|
||||
<UButton icon="i-simple-icons-github" />
|
||||
<UButton label="Open" color="gray" variant="subtle" />
|
||||
</UTooltip>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user