asynqmon/ui/src/actions/snackbarActions.ts
2020-12-10 07:58:44 -08:00

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 };
}