/* eslint-disable */ // @ts-nocheck import { HelpItem, SelectControl, TextControl, } from "../../../shared/keycloak-ui-shared"; import { FormGroup, Switch } from "../../../shared/@patternfly/react-core"; import { Controller, FormProvider, UseFormReturn } from "react-hook-form"; import { useTranslation } from "react-i18next"; import { FormAccess } from "../../components/form/FormAccess"; import { WizardSectionHeader } from "../../components/wizard-section-header/WizardSectionHeader"; export type LdapSettingsSearchingProps = { form: UseFormReturn; showSectionHeading?: boolean; showSectionDescription?: boolean; }; export const LdapSettingsSearching = ({ form, showSectionHeading = false, showSectionDescription = false, }: LdapSettingsSearchingProps) => { const { t } = useTranslation(); return ( {showSectionHeading && ( )} } fieldId="kc-ui-pagination" hasNoPaddingTop > ( field.onChange([`${value}`])} isChecked={field.value[0] === "true"} label={t("on")} labelOff={t("off")} aria-label={t("pagination")} /> )} > ); };