UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

22 lines (21 loc) 841 B
/** * @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 { BaseColorVariant, NotificationType } from "../../types"; export interface Notification { id: number; title?: string; type: NotificationType; message: string; colorVariant?: BaseColorVariant; } export interface NotificationContextType { addNotification: (message: string, colorVariant?: BaseColorVariant, title?: string, type?: NotificationType, timeout?: number) => void; removeNotification: (id: number) => void; } export declare const NotificationContext: import("react").Context<NotificationContextType>;