"use client";
import * as React from "react";
import { useRenderElement } from "../utils/useRenderElement.js";
const Separator = /* @__PURE__ */ React.forwardRef(function SeparatorComponent(componentProps, forwardedRef) {
  const {
    className,
    render,
    orientation = "horizontal",
    ...elementProps
  } = componentProps;
  const state = React.useMemo(() => ({
    orientation
  }), [orientation]);
  const element = useRenderElement("div", componentProps, {
    state,
    ref: forwardedRef,
    props: [{
      role: "separator",
      "aria-orientation": orientation
    }, elementProps]
  });
  return element;
});
if (process.env.NODE_ENV !== "production") Separator.displayName = "Separator";
export {
  Separator
};
//# sourceMappingURL=Separator.js.map
