mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 03:05:55 +00:00
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m56s
- Simplified dependencies in package.json by removing unused packages and organizing existing ones. - Updated tailwind.config.ts for better readability and maintainability, ensuring consistent formatting and structure.
32 lines
765 B
TypeScript
32 lines
765 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import { Separator as SeparatorPrimitive } from "radix-ui"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const Separator = React.forwardRef<
|
|
React.ElementRef<typeof SeparatorPrimitive.Root>,
|
|
React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
|
|
>(
|
|
(
|
|
{ className, orientation = "horizontal", decorative = true, ...props },
|
|
ref
|
|
) => (
|
|
<SeparatorPrimitive.Root
|
|
ref={ref}
|
|
decorative={decorative}
|
|
orientation={orientation}
|
|
className={cn(
|
|
"shrink-0 bg-border",
|
|
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
className
|
|
)}
|
|
{...props}
|
|
/>
|
|
)
|
|
)
|
|
Separator.displayName = SeparatorPrimitive.Root.displayName
|
|
|
|
export { Separator }
|