'use client' import { useState } from 'react' interface ResourceAllocationProps { systemInfo: any configData: any onComplete: (data: any) => void onBack?: () => void isCompleted: boolean } export default function ResourceAllocation({ systemInfo, configData, onComplete, onBack, isCompleted }: ResourceAllocationProps) { const [config, setConfig] = useState({ cpuAllocation: 80, memoryAllocation: 75, storageAllocation: 50 }) const handleSubmit = (e: React.FormEvent) => { e.preventDefault() onComplete({ resources: config }) } return (
) }