theme.keycloak.v2.admin.resources.assets.SwitchControl-C_9Y74oV.js.map Maven / Gradle / Ivy
{"version":3,"file":"SwitchControl-C_9Y74oV.js","sources":["../../src/components/SwitchControl.tsx"],"sourcesContent":["import { FieldPath, FieldValues } from \"react-hook-form\";\nimport { useTranslation } from \"react-i18next\";\nimport type { SwitchControlProps } from \"@keycloak/keycloak-ui-shared\";\nimport { SwitchControl } from \"@keycloak/keycloak-ui-shared\";\n\nexport type DefaultSwitchControlProps<\n T extends FieldValues,\n P extends FieldPath = FieldPath,\n> = Omit, \"labelOn\" | \"labelOff\">;\n\nexport const DefaultSwitchControl = <\n T extends FieldValues,\n P extends FieldPath = FieldPath,\n>(\n props: DefaultSwitchControlProps,\n) => {\n const { t } = useTranslation();\n\n return ;\n};\n"],"names":["DefaultSwitchControl","props","t","useTranslation","jsx","SwitchControl"],"mappings":"uFAUa,MAAAA,EAIXC,GACG,CACG,KAAA,CAAE,EAAAC,GAAMC,IAEP,OAAAC,EAACC,EAAe,CAAA,GAAGJ,EAAO,QAASC,EAAE,IAAI,EAAG,SAAUA,EAAE,KAAK,CAAG,CAAA,CACzE"}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy