UNPKG

@keycloakify/keycloak-admin-ui

Version:
9 lines 500 B
import { jsx as _jsx } from "react/jsx-runtime"; import { FormGroup } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { HelpItem } from "../../ui-shared"; export const FormGroupField = ({ label, children, }) => { const { t } = useTranslation(); return (_jsx(FormGroup, { label: t(label), fieldId: label, labelIcon: _jsx(HelpItem, { helpText: t(`${label}Help`), fieldLabelId: label }), children: children })); }; //# sourceMappingURL=FormGroupField.js.map