GF-6, #8 Added auth.
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
This commit is contained in:
parent
e8818d6eaa
commit
10e4363cbd
60 changed files with 4855 additions and 160 deletions
19
app/components/ui/field/FieldLegend.vue
Normal file
19
app/components/ui/field/FieldLegend.vue
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes["class"];
|
||||
variant?: "legend" | "label";
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<legend
|
||||
data-slot="field-legend"
|
||||
:data-variant="variant"
|
||||
:class="cn('mb-3 font-medium', 'data-[variant=legend]:text-base', 'data-[variant=label]:text-sm', props.class)"
|
||||
>
|
||||
<slot />
|
||||
</legend>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue