@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
18 lines (17 loc) • 721 B
TypeScript
import { AlertVariant } from "@patternfly/react-core";
import { PropsWithChildren } from "react";
export type AddAlertFunction = (message: string, variant?: AlertVariant, description?: string) => void;
export type AddErrorFunction = (message: string) => void;
export type AlertProps = {
addAlert: AddAlertFunction;
addError: AddErrorFunction;
};
export declare const AlertContext: import("react").Context<AlertProps | undefined>;
export declare const useAlerts: () => AlertProps;
export type AlertType = {
id: number;
message: string;
variant: AlertVariant;
description?: string;
};
export declare const AlertProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;