260703_01_FST: First Commit
This commit is contained in:
10
.tooling/components/ui/separator.tsx
Normal file
10
.tooling/components/ui/separator.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { HTMLAttributes } from "react";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export interface SeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
||||
orientation?: "horizontal" | "vertical";
|
||||
}
|
||||
|
||||
export function Separator({ className, orientation = "horizontal", ...props }: SeparatorProps) {
|
||||
return <div role="separator" data-orientation={orientation} className={cn(className)} {...props} />;
|
||||
}
|
||||
Reference in New Issue
Block a user