@dndbuilder.com/react
Version:
Drag and drop builder for React
25 lines (24 loc) • 804 B
JavaScript
"use client";
import { jsx as p } from "react/jsx-runtime";
import * as t from "react";
import { Root as o } from "../../../../../node_modules/.pnpm/@radix-ui_react-separator@1.1.2_@types_react-dom@19.0.4_@types_react@19.0.10__@types_react@19_o5tvbeklo6l442ofaldaigks5i/node_modules/@radix-ui/react-separator/dist/index.js";
import { classNames as e } from "../../../../../utils.js";
const f = t.forwardRef(({ className: a, orientation: r = "horizontal", decorative: m = !0, ...s }, l) => /* @__PURE__ */ p(
o,
{
ref: l,
decorative: m,
orientation: r,
className: e(
"shrink-0 bg-gray-300",
r === "horizontal" ? "h-px w-full" : "h-full w-px",
a
),
...s
}
));
f.displayName = o.displayName;
export {
f as Separator
};
//# sourceMappingURL=separator.js.map