UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

34 lines (33 loc) 1.06 kB
import { jsx as t } from "react/jsx-runtime"; import { ToggleGroupControl as r } from "../../../../components/controls/toggle-group.control.js"; import { AiOutlineAlignLeft as g, AiOutlineAlignCenter as n, AiOutlineAlignRight as s } from "../../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/ai/index.js"; const p = ({ type: e, className: o, label: l = "Text Align", fieldName: i }) => /* @__PURE__ */ t( r, { type: e, fieldName: i, label: l, className: o, controls: [ { tooltipContent: "Left", toggleTrigger: /* @__PURE__ */ t(g, { className: "text-sm" }), value: "left" }, { tooltipContent: "Center", toggleTrigger: /* @__PURE__ */ t(n, { className: "text-sm" }), value: "center" }, { tooltipContent: "Right", toggleTrigger: /* @__PURE__ */ t(s, { className: "text-sm" }), value: "right" } ] } ); export { p as default }; //# sourceMappingURL=slide-text-align.control.js.map