Something went wrong. Try again.
A local-first note taking app
Something went wrong. Try again.
1234567891011121314151617181920212223242526import type { ReactNode } from 'react';
import { documentEditorFrameClass } from './documentEditorStyles';
export type DocumentEditorFrameProps = { className?: string; children: ReactNode;};
/** * Shared chrome for every editor backend (border, surface, flex layout). * Backend editors render their engine as children. */export function DocumentEditorFrame({ className, children,}: DocumentEditorFrameProps) { return ( <div className={`${documentEditorFrameClass}${className ? ` ${className}` : ''}`} > {children} </div> );}