Teren-app/resources/js/Components/ui/field/FieldSet.vue
Simon Pocrnjič cc4c07717e Changes
2026-01-18 18:21:41 +01:00

23 lines
404 B
Vue

<script setup>
import { cn } from "@/lib/utils";
const props = defineProps({
class: { type: null, required: false },
});
</script>
<template>
<fieldset
data-slot="field-set"
:class="
cn(
'flex flex-col gap-6',
'has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3',
props.class,
)
"
>
<slot />
</fieldset>
</template>