import {FormProvider, type UseFormReturn} from "react-hook-form"; import {useTranslation} from "react-i18next"; import {Card, CardContent} from "@/components/ui/card"; import {FormField, FormFieldItem, FormFieldLabel} from "@/components/ui/form"; import {Input} from "@/components/ui/input"; import {TabsContent} from "@/components/ui/tabs"; import type {MemShellFormSchema} from "@/types/schema"; import {OptionalClassFormField} from "./classname-field"; import {ShellTypeFormField} from "./shelltype-field"; import {UrlPatternFormField} from "./urlpattern-field"; export function GodzillaTabContent({ form, shellTypes, }: Readonly<{ form: UseFormReturn; shellTypes: Array }>) { const { t } = useTranslation(); return (
( {t("shellToolConfig.pass")} {t("optional")} )} /> ( {t("shellToolConfig.key")} {t("optional")} )} /> ( {t("shellToolConfig.headerName")} )} /> ( {t("shellToolConfig.headerValue")} {t("optional")} )} />
); }