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
+24
View File
@@ -0,0 +1,24 @@
import type { RootConfig } from '@reacteditor/core';
export type RootProps = {
title?: string;
description?: string;
ogImage?: string;
};
export const Root: RootConfig<{ props: RootProps }> = {
global: false,
defaultProps: {
title: 'Your Company',
description: 'A clean, flexible foundation for your next website.',
ogImage: '',
},
fields: {
title: { label: 'Page title', type: 'text' },
description: { label: 'Meta description', type: 'textarea' },
ogImage: { label: 'Social share image', type: 'image' },
},
render: ({ children }) => <>{children}</>,
};
export default Root;