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;