@dossierhq/design
Version:
The design system for Dossier.
10 lines (9 loc) • 306 B
TypeScript
export interface NotificationInfo {
color: 'error' | 'success';
message: string;
}
interface NotificationContextValue {
showNotification(this: void, notification: NotificationInfo): void;
}
export declare const NotificationContext: import("react").Context<NotificationContextValue>;
export {};