mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-14 16:53:17 +01:00
20 lines
624 B
Vue
20 lines
624 B
Vue
<script setup lang="ts">
|
|
import type { ComboboxSeparatorProps } from 'reka-ui';
|
|
import type { HTMLAttributes } from 'vue';
|
|
import { reactiveOmit } from '@vueuse/core';
|
|
import { ComboboxSeparator, useForwardProps } from 'reka-ui';
|
|
import { cn } from '../utils/cn';
|
|
|
|
const props = defineProps<ComboboxSeparatorProps & { class?: HTMLAttributes['class'] }>();
|
|
|
|
const delegatedProps = reactiveOmit(props, 'class');
|
|
|
|
const forwarded = useForwardProps(delegatedProps);
|
|
</script>
|
|
|
|
<template>
|
|
<ComboboxSeparator
|
|
v-bind="forwarded"
|
|
:class="cn('my-1 h-px bg-card-background-separator', props.class)" />
|
|
</template>
|