@tohuhono/puck-blocks
Version:
A collection of puck components for building pages in OberonCMS
16 lines (15 loc) • 417 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { cn } from "@tohuhono/utils";
const Container = {
fields: {
className: {
type: "text"
}
},
render: ({ className, puck: { renderDropZone: DropZone } }) => {
return /* @__PURE__ */ jsx("div", { className: cn("flex w-full justify-center p-2", className), children: /* @__PURE__ */ jsx(DropZone, { zone: "box" }) });
}
};
export {
Container
};