MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / Separator

Function Separator

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

Source from the content-addressed store, hash-verified

5import { cn } from "@/lib/utils";
6
7function Separator({
8 className,
9 orientation = "horizontal",
10 ...props
11}: SeparatorPrimitive.Props) {
12 return (
13 <SeparatorPrimitive
14 data-slot="separator"
15 orientation={orientation}
16 className={cn(
17 "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
18 className
19 )}
20 {...props}
21 />
22 );
23}
24
25export { Separator };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected