import React from "react"; import { useTranslation } from "react-i18next"; import { FormGroup, TextInput, Form, Switch, TextArea, ActionGroup, Button, } from "@patternfly/react-core"; import { Controller, UseFormMethods } from "react-hook-form"; import { ScrollForm } from "../components/scroll-form/ScrollForm"; import { ClientDescription } from "./ClientDescription"; import { CapabilityConfig } from "./add/CapabilityConfig"; import { MultiLineInput } from "../components/multi-line-input/MultiLineInput"; import { FormAccess } from "../components/form-access/FormAccess"; import { HelpItem } from "../components/help-enabler/HelpItem"; type ClientSettingsProps = { form: UseFormMethods; save: () => void; }; export const ClientSettings = ({ form, save }: ClientSettingsProps) => { const { t } = useTranslation("clients"); return ( <>
} > } > ( )} /> ( )} />