import { Controller, type UseFormReturn } from "react-hook-form"; import { useTranslation } from "react-i18next"; import { Card, CardContent } from "@/components/ui/card"; import { Field, FieldLabel } from "@/components/ui/field"; 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 AntSwordTabContent({ form, shellTypes, }: Readonly<{ form: UseFormReturn; shellTypes: Array; }>) { const { t } = useTranslation(["memshell", "common"]); return (
( {t("shellToolConfig.antSword.pass")} {t("common:optional")} )} />
( {t("common:headerName")} )} /> ( {t("common:headerValue")} {t("common:optional")} )} />
); }