Initial react editor website template

This commit is contained in:
Rami Bitar
2026-08-29 14:03:50 -04:00
commit 3e072967e6
61 changed files with 7041 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use client';
import { Render } from '@reacteditor/core/render';
import { appConfig } from '@/editor.config';
import globals from '@/app.globals.json';
export type PageData = { root?: unknown; content?: unknown; globals?: unknown };
export default function PageRender({ page }: { page: PageData }) {
return <Render config={appConfig as never} data={{ root: page.root, content: page.content, globals } as never} />;
}