mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-21 20:45:24 +03:00
17 lines
394 B
Svelte
17 lines
394 B
Svelte
|
|
<script lang="ts">
|
||
|
|
import { Select as SelectPrimitive } from "bits-ui";
|
||
|
|
import { cn } from "$lib/utils/style.js";
|
||
|
|
|
||
|
|
type $$Props = SelectPrimitive.LabelProps;
|
||
|
|
|
||
|
|
let className: $$Props["class"] = undefined;
|
||
|
|
export { className as class };
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<SelectPrimitive.Label
|
||
|
|
class={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}
|
||
|
|
{...$$restProps}
|
||
|
|
>
|
||
|
|
<slot />
|
||
|
|
</SelectPrimitive.Label>
|