1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-03 01:45:17 +02:00

UI notification/alert system with global redux state

This commit is contained in:
unknown 2021-05-24 14:54:46 +02:00
parent c145888aec
commit 4eaf9659d1
17 changed files with 279 additions and 10 deletions

View file

@ -1,9 +1,11 @@
import { State as AppState } from '../store/reducers/app';
import { State as ThemeState } from '../store/reducers/theme';
import { State as BookmarkState } from '../store/reducers/bookmark';
import { State as NotificationState } from '../store/reducers/notification';
export interface GlobalState {
theme: ThemeState;
app: AppState;
bookmark: BookmarkState;
notification: NotificationState;
}

View file

@ -0,0 +1,8 @@
export interface NewNotification {
title: string;
message: string;
}
export interface Notification extends NewNotification {
id: number;
}

View file

@ -4,4 +4,5 @@ export * from './GlobalState';
export * from './Api';
export * from './Weather';
export * from './Bookmark';
export * from './Category';
export * from './Category';
export * from './Notification';