chore: clean withDefaults

This commit is contained in:
Benjamin Canac
2024-03-21 12:55:21 +01:00
parent f4a1d4a7c3
commit 89ab141376
3 changed files with 16 additions and 3 deletions

View File

@@ -37,7 +37,11 @@ import { useForwardPropsEmits } from 'radix-vue'
import { Popover, HoverCard } from 'radix-vue/namespaced'
import { reactivePick } from '@vueuse/core'
const props = withDefaults(defineProps<PopoverProps>(), { mode: 'click', openDelay: 0, closeDelay: 0 })
const props = withDefaults(defineProps<PopoverProps>(), {
mode: 'click',
openDelay: 0,
closeDelay: 0
})
const emits = defineEmits<PopoverEmits>()
defineSlots<PopoverSlots>()