import { useState } from "react"; import { SshFields } from "./SshFields"; import { SslFields } from "./SslFields"; export interface SshSslTabProps { form: Record; onChange: (updates: Record) => void; } export function SshSslTab({ form, onChange }: SshSslTabProps) { const [activeSubTab, setActiveSubTab] = useState<"ssh" | "ssl">("ssh"); return (
{activeSubTab === "ssh" ? : }
); }