mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 20:37:44 +00:00
20 lines
384 B
Vue
20 lines
384 B
Vue
<script lang="ts" setup>
|
|
import type { HTMLAttributes } from "vue";
|
|
import { useFormField } from "./useFormField";
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"];
|
|
}>();
|
|
|
|
const { formDescriptionId } = useFormField();
|
|
</script>
|
|
|
|
<template>
|
|
<p
|
|
:id="formDescriptionId"
|
|
:class="cn('text-sm text-muted-foreground', props.class)"
|
|
>
|
|
<slot />
|
|
</p>
|
|
</template>
|