p5.js-web-editor/client/modules/IDE/actions/loader.js
siddhant 538a41c617 Added Loader to indicate loading of sketches (#880)
* Added Loader to indicate loading of sketches

* Fixed styles

* Changed styles

* remove prefixes

* Issues Fixed:

* added Loader

* Refactor

* Issues Fixed

* clean up loader functions
2019-05-01 16:32:39 -04:00

9 lines
211 B
JavaScript

import * as ActionTypes from '../../../constants';
export function startLoader() {
return { type: ActionTypes.START_LOADING };
}
export function stopLoader() {
return { type: ActionTypes.STOP_LOADING };
}