17 lines
363 B
Svelte
17 lines
363 B
Svelte
<script lang="ts">
|
|
import { Select as SelectPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: SelectPrimitive.GroupHeadingProps = $props();
|
|
</script>
|
|
|
|
<SelectPrimitive.GroupHeading
|
|
bind:ref
|
|
class={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}
|
|
{...restProps}
|
|
/>
|