@keycloakify/keycloak-account-ui
Version:
<p align="center"> <img src="https://github.com/user-attachments/assets/e31c4910-7205-441c-9a35-e134b806b3a8"> </p> <p align="center"> <i>Repackaged Keycloak Account UI</i> <br> <br> <a href="https://github.com/keycloakify/keycloak-a
24 lines (23 loc) • 741 B
TypeScript
import { PropsWithChildren } from "react";
import { To } from "react-router-dom";
import { type Feature } from "../environment";
import { TFuncKey } from "../i18n";
type RootMenuItem = {
label: TFuncKey;
path: string;
isVisible?: keyof Feature;
modulePath?: string;
};
type MenuItemWithChildren = {
label: TFuncKey;
children: MenuItem[];
isVisible?: keyof Feature;
};
export type MenuItem = RootMenuItem | MenuItemWithChildren;
export declare const PageNav: () => import("react/jsx-runtime").JSX.Element;
type NavLinkProps = {
to: To;
isActive: boolean;
};
export declare const NavLink: ({ to, isActive, children, }: PropsWithChildren<NavLinkProps>) => import("react/jsx-runtime").JSX.Element;
export {};