The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 19 lines 627 Bytes
Raw
1 import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
2
3 import { cn } from "~/lib/utils";
4
5 function Separator({ className, orientation = "horizontal", ...props }: SeparatorPrimitive.Props) {
6 return (
7 <SeparatorPrimitive
8 className={cn(
9 "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch",
10 className,
11 )}
12 data-slot="separator"
13 orientation={orientation}
14 {...props}
15 />
16 );
17 }
18
19 export { Separator };