mirror of
https://github.com/SrIzan10/helium.git
synced 2026-06-06 00:56:58 +00:00
22 lines
428 B
Vue
22 lines
428 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"]
|
|
}>()
|
|
</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>
|