@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
23 lines (20 loc) • 572 B
JavaScript
import { cn } from './chunk-ZD2QRAOX.js';
import { Separator as Separator$1 } from 'radix-ui';
import { jsx } from 'react/jsx-runtime';
function Separator({ className, orientation = "horizontal", decorative = false, ...props }) {
return /* @__PURE__ */ jsx(
Separator$1.Root,
{
decorative,
orientation,
"aria-orientation": orientation,
className: cn(
"shrink-0 bg-gray-800",
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
className
),
...props
}
);
}
export { Separator };