import { SnackbarEvent , SnackbarEventAction , SnackbarEventActions , } from "../model/snackbarEvent" ; export function addSnackbarEvent ( event ) { return { type : SnackbarEventActions . ADD_SNACKBAR_EVENT , payload : event , } ; } export function deleteSnackbarEvent ( event ) { return { type : SnackbarEventActions . DELETE_SNACKBAR_EVENT , payload : event , } ; }