You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
379 B
Svelte

<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui'
import { cn } from '$lib/utils'
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>