Files
react-editor-nextjs/components/website/footer.config.tsx
T

20 lines
547 B
TypeScript

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;