wass-rct-ui
Version:
A lightweight and customizable WASS Rct UI component library for modern web applications.
18 lines (17 loc) • 587 B
TypeScript
/**
* @file wass-rct-ui
* @description A reusable Title component that supports dynamic heading levels.
* @author Web Apps Software Solutions
* @copyright © 2024 Web Apps Software Solutions. All rights reserved.
* @license MIT
* @repository https://github.com/WebAppSoftNK/wass-rct-ui
*/
import { Notification } from "./NotificationContext";
export type NotificationAction = {
type: "ADD";
payload: Notification;
} | {
type: "REMOVE";
id: number;
};
export declare const notificationReducer: (state: Notification[], action: NotificationAction) => Notification[];