UNPKG

@keycloakify/keycloak-admin-ui

Version:
12 lines (11 loc) 576 B
import RealmRepresentation from "@keycloak/keycloak-admin-client/lib/defs/realmRepresentation"; import { PropsWithChildren } from "react"; type RealmContextType = { realm: string; realmRepresentation?: RealmRepresentation; refresh: () => void; }; export declare const RealmContext: import("../../ui-shared/utils/createNamedContext").NamedContext<RealmContextType | undefined>; export declare const RealmContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export declare const useRealm: () => RealmContextType; export {};