import React from 'react' import { useFormEditorActions } from '../context/FormEditorActionsContext' import PageReturnButton from './PageReturnButton' /** * Vollseiten-Editor: Zurück-Schalter + Titel oben; FormActionBar fix unten (FormEditorBottomSlot). */ export default function PageFormEditorChrome({ title, fallbackPath, fallbackLabel, actionConfig, children, testId, showReturn = true, }) { useFormEditorActions(actionConfig) return (
{showReturn && fallbackPath && fallbackLabel ? ( ) : null}

{title}

{children}
) }