import { ArrowLeft } from 'lucide-react'; import type { ReactNode } from 'react'; import type { UnifiedCreationSpec } from './unifiedCreationSpecs'; type UnifiedCreationPageProps = { spec: UnifiedCreationSpec; children: ReactNode; onBack?: () => void; isBackDisabled?: boolean; }; export function UnifiedCreationPage({ spec, children, onBack, isBackDisabled = false, }: UnifiedCreationPageProps) { return (
field.kind).join(',')} data-workspace-stage={spec.workspaceStage} data-generation-stage={spec.generationStage} data-result-stage={spec.resultStage} >
{onBack ? ( ) : (

{spec.title}

{spec.title}

{children}
); } export default UnifiedCreationPage;