mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-03-15 14:10:12 +08:00
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
|
export const CLOSE_SNACKBAR = "CLOSE_SNACKBAR";
|
||
|
|
||
|
interface CloseSnakbarAction {
|
||
|
type: typeof CLOSE_SNACKBAR;
|
||
|
}
|
||
|
|
||
|
// Union of all snackbar related action types
|
||
|
export type SnackbarActionTypes = CloseSnakbarAction;
|
||
|
|
||
|
export function closeSnackbar() {
|
||
|
return { type: CLOSE_SNACKBAR };
|
||
|
}
|