@keycloakify/keycloak-admin-ui
Version:
Repackaged Keycloak Admin UI
11 lines • 520 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { useTranslation } from "react-i18next";
import { TimeSelectorControl } from "../../components/time-selector/TimeSelectorControl";
export const Time = ({ name, style, }) => {
const { t } = useTranslation();
return (_jsx(TimeSelectorControl, { name: name, style: style, label: t(name), labelIcon: t(`${name}Help`), controller: {
defaultValue: "",
rules: { required: t("required") },
} }));
};
//# sourceMappingURL=Time.js.map