@tohuhono/puck-blocks
Version:
A collection of puck components for building pages in OberonCMS
20 lines (19 loc) • 468 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { defineOberonComponent } from "@oberoncms/core";
import { Prose as Prose$1 } from "@tohuhono/ui/prose";
const Prose = defineOberonComponent({
fields: {
className: {
type: "text"
},
content: {
type: "slot"
}
},
render: ({ className, content: Content }) => {
return /* @__PURE__ */ jsx(Prose$1, { className, children: /* @__PURE__ */ jsx(Content, {}) });
}
});
export {
Prose
};