import {Button} from '@/components/ui/button.jsx';
import {Pause, Play, RotateCcw, Save, SkipForward} from 'lucide-react';
import React from 'react';

const ScenarioMenuBar = ({ onSave, onStepRun, onFullRun, onPause, onReset }) => {
  return (
      <div className="flex items-center gap-2 p-4 border-b">
        <Button
            variant="outline"
            size="sm"
            onClick={onSave}
        >
          <Save className="h-4 w-4 mr-2" />
          저장
        </Button>
        <Button
            variant="outline"
            size="sm"
            onClick={onStepRun}
        >
          <SkipForward className="h-4 w-4 mr-2" />
          단계별 실행
        </Button>
        <Button
            variant="outline"
            size="sm"
            onClick={onFullRun}
        >
          <Play className="h-4 w-4 mr-2" />
          전체 실행
        </Button>
        <Button
            variant="outline"
            size="sm"
            onClick={onPause}
        >
          <Pause className="h-4 w-4 mr-2" />
          일시 정지
        </Button>
        <Button
            variant="outline"
            size="sm"
            onClick={onReset}
        >
          <RotateCcw className="h-4 w-4 mr-2" />
          초기화
        </Button>
      </div>
  );
};

export default ScenarioMenuBar;
