mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 18:59:50 +08:00
Fix OAuth token import and table filters
This commit is contained in:
@@ -1,13 +1,28 @@
|
||||
<script setup lang="ts">
|
||||
import { PopoverTrigger } from 'radix-vue'
|
||||
import { useAttrs } from 'vue'
|
||||
|
||||
defineProps<{
|
||||
defineOptions({
|
||||
inheritAttrs: false,
|
||||
})
|
||||
|
||||
withDefaults(defineProps<{
|
||||
asChild?: boolean
|
||||
}>()
|
||||
as?: string
|
||||
}>(), {
|
||||
asChild: false,
|
||||
as: 'button',
|
||||
})
|
||||
|
||||
const attrs = useAttrs()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PopoverTrigger :as-child="asChild">
|
||||
<PopoverTrigger
|
||||
v-bind="attrs"
|
||||
:as-child="asChild"
|
||||
:as="as"
|
||||
>
|
||||
<slot />
|
||||
</PopoverTrigger>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user