import clsx from "clsx";
import { Separator as SeparatorPrimitive } from "radix-ui";
import * as React from "react";

export function Separator({
  className,
  orientation = "horizontal",
  decorative = true,
  ...props
}: React.ComponentPropsWithRef<typeof SeparatorPrimitive.Root>) {
  return (
    <SeparatorPrimitive.Root
      className={clsx("__separator", className)}
      orientation={orientation}
      decorative={decorative}
      data-component="Separator$Brevity"
      {...props}
    />
  );
}
