'use client' import { useState } from 'react' interface SecuritySetupProps { systemInfo: any configData: any onComplete: (data: any) => void onBack?: () => void isCompleted: boolean } export default function SecuritySetup({ systemInfo, configData, onComplete, onBack, isCompleted }: SecuritySetupProps) { const [config, setConfig] = useState({ sshKeyType: 'generate', enableTLS: true, authMethod: 'token' }) const handleSubmit = (e: React.FormEvent) => { e.preventDefault() onComplete({ security: config }) } return (
) }