import type { ValidComponent } from 'solid-js'; import { splitProps } from 'solid-js'; import type { PolymorphicProps } from '@kobalte/core/polymorphic'; import * as SeparatorPrimitive from '@kobalte/core/separator'; import { cn } from '~/utils/styles'; type SeparatorRootProps = SeparatorPrimitive.SeparatorRootProps & { class?: string | undefined }; const Separator = ( props: PolymorphicProps> ) => { const [local, others] = splitProps(props as SeparatorRootProps, [ 'class', 'orientation', ]); return ( ); }; export { Separator };