UNPKG

@tohuhono/puck-blocks

Version:

A collection of puck components for building pages in OberonCMS

19 lines (18 loc) 426 B
import { jsx } from "react/jsx-runtime"; import { cn } from "@tohuhono/utils"; const Container = { fields: { className: { type: "text" }, content: { type: "slot" } }, render: ({ className, content: Content }) => { return /* @__PURE__ */ jsx("div", { className: cn("flex w-full justify-center p-2", className), children: /* @__PURE__ */ jsx(Content, {}) }); } }; export { Container };