Initial react editor Next.js template

This commit is contained in:
Rami Bitar
2026-08-29 15:45:18 -04:00
commit 6e5783e644
32 changed files with 4192 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import type { ComponentConfig } from '@reacteditor/core';
import { PanelBottom } from 'lucide-react';
import Footer, { type FooterProps } from './footer';
const footerConfig: ComponentConfig<FooterProps> = {
label: 'Footer',
icon: <PanelBottom size={16} />,
category: 'navigation',
global: true,
defaultProps: {
copyright: '© 2026 Next.js Editor Starter',
},
fields: {
copyright: { label: 'Copyright', type: 'text', contentEditable: true },
},
render: (props) => <Footer {...props} />,
};
export default footerConfig;