import { LightningBoltIcon } from '@radix-ui/react-icons' import { CopyBlock, atomOneLight } from 'react-code-blocks' import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from '@/components/ui/alert-dialog' import { Button } from '@/components/ui/button' export default function SimulationPreview({ simConfig, ftc, setSimulationStatus }: { simConfig: any; ftc: any; setSimulationStatus: any }) { const handleSimulationStart = () => { setSimulationStatus(true) } return ( Simulation Config Preview This is a preview of the proposal config that will be simulated
Cancel { console.log('simulation started') handleSimulationStart() }}> Start
) }