asynqmon/ui/src/actions/snackbarActions.ts

13 lines
286 B
TypeScript
Raw Normal View History

2020-12-10 07:06:54 -08:00
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 };
}