import { FunctionComponent } from "react"; import { useTranslation } from "react-i18next"; import { FormGroup } from "@patternfly/react-core"; import { HelpItem } from "../../components/help-enabler/HelpItem"; export type FieldProps = { label: string; field: string; isReadOnly?: boolean }; export type FormGroupFieldProps = { label: string }; export const FormGroupField: FunctionComponent = ({ label, children, }) => { const { t } = useTranslation("identity-providers"); return ( } > {children} ); };