"use client" import { useState } from "react" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select" import { Switch } from "@/components/ui/switch" export default function Component() { const [isEnabled, setIsEnabled] = useState(false) const [protocol, setProtocol] = useState("tcp") const [udpIp, setUdpIp] = useState("") const [udpPort, setUdpPort] = useState("") return (