UNPKG

@keycloakify/keycloak-admin-ui

Version:
16 lines 625 B
import { jsx as _jsx } from "react/jsx-runtime"; import { lazy } from "react"; import { generateEncodedPath } from "../../utils/generateEncodedPath"; const RealmSettingsSection = lazy(() => import("../../realm-settings/RealmSettingsSection")); export const UserProfileRoute = { path: "/:realm/realm-settings/user-profile/:tab", element: _jsx(RealmSettingsSection, {}), breadcrumb: (t) => t("userProfile"), handle: { access: "view-realm", }, }; export const toUserProfile = (params) => ({ pathname: generateEncodedPath(UserProfileRoute.path, params), }); //# sourceMappingURL=UserProfile.js.map