import { ISetLoaderAction, SET_LOADER } from "./types";

export const setLoader = (willShow: boolean): ISetLoaderAction => ({
    type: SET_LOADER,
    payload: willShow
})