UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

37 lines (36 loc) 1.23 kB
"use client"; import { jsx as t } from "react/jsx-runtime"; import { ToggleGroupControl as l } from "../../../../components/controls/toggle-group.control.js"; import { CgPushLeft as i, CgPushRight as n } from "../../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/cg/index.js"; import { MdVerticalAlignCenter as a } from "../../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/md/index.js"; const p = ({ type: e, fieldName: o, className: r }) => /* @__PURE__ */ t( l, { type: e, fieldName: o, label: "Horizontal Position", className: r, defaultValue: "center", controls: [ { tooltipContent: "Left", toggleTrigger: /* @__PURE__ */ t(i, { className: "text-sm" }), value: "start" }, { tooltipContent: "Center", toggleTrigger: /* @__PURE__ */ t(a, { className: "rotate-90 text-sm" }), value: "center" }, { tooltipContent: "Right", toggleTrigger: /* @__PURE__ */ t(n, { className: "text-sm" }), value: "end" } ] } ); export { p as default }; //# sourceMappingURL=slide-horizontal-position.control.js.map