mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 12:27:44 +00:00
docs: fix vue example
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { Primitive, type PrimitiveProps, useForwardProps } from 'radix-vue'
|
||||
import { DashIcon } from '@radix-icons/vue'
|
||||
|
||||
const props = defineProps<PrimitiveProps>()
|
||||
const forwardedProps = useForwardProps(props)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Primitive v-bind="forwardedProps">
|
||||
<slot>
|
||||
<DashIcon />
|
||||
</slot>
|
||||
</primitive>
|
||||
</template>
|
||||
Reference in New Issue
Block a user