import { FrameDefinitionPanel } from '@/components/frame/FrameDefinitionPanel';
import { FrameEntryForm } from '@/components/frame/FrameEntryForm';
import { FrameEntryList } from '@/components/frame/FrameEntryList';
import { FrameHeader } from '@/components/frame/FrameHeader';
import { FrameStatusPanel } from '@/components/frame/FrameStatusPanel';
import type { FrameModuleViewProps } from '@/components/frame/types';

export function FrameModuleView({ workflow }: FrameModuleViewProps) {
  return (
    <div className="space-y-6">
      <FrameHeader workflow={workflow} />
      <FrameStatusPanel workflow={workflow} />
      <FrameDefinitionPanel />
      <FrameEntryForm workflow={workflow} />
      <FrameEntryList workflow={workflow} />
    </div>
  );
}
