MCPcopy Create free account
hub / github.com/arctic-cli/interface / Separator

Function Separator

packages/web/components/ui/separator.tsx:5–21  ·  view source on GitHub ↗
({
  className,
  orientation = "horizontal",
  ...props
}: SeparatorPrimitive.Props)

Source from the content-addressed store, hash-verified

3import { cn } from "@/lib/utils";
4
5function Separator({
6 className,
7 orientation = "horizontal",
8 ...props
9}: SeparatorPrimitive.Props) {
10 return (
11 <SeparatorPrimitive
12 className={cn(
13 "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",
14 className,
15 )}
16 data-slot="separator"
17 orientation={orientation}
18 {...props}
19 />
20 );
21}
22
23export { Separator };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected