"use client"; import { KeyRound } from "lucide-react"; import type { Control } from "react-hook-form"; import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; // Assuming EditConnectorFormValues is defined elsewhere or passed as generic interface EditSimpleTokenFormProps { control: Control; fieldName: string; // e.g., "SLACK_BOT_TOKEN" fieldLabel: string; // e.g., "Slack Bot Token" fieldDescription: string; placeholder?: string; } export function EditSimpleTokenForm({ control, fieldName, fieldLabel, fieldDescription, placeholder, }: EditSimpleTokenFormProps) { return ( ( {fieldLabel} {fieldDescription} )} /> ); }