import { type JSX, splitProps } from 'solid-js'; import { cn } from '../utils/cn'; export interface SeparatorProps extends JSX.HTMLAttributes { orientation?: 'horizontal' | 'vertical'; } export function Separator(props: SeparatorProps) { const [local, rest] = splitProps(props, ['orientation', 'class']); const isVertical = () => local.orientation === 'vertical'; return