summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/actions/UiActions.js
blob: f7d62a23aeaca78928f0ddc34c1f5881689ee6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import * as types from './actionTypes';

export const toggleAction = { type: types.TOGGLE_SIDEBAR };
export const openAction = initialLocation => ({
  type: types.OPEN_SUBMENU,
  initialLocation
});
export const changeThemeAction = theme => ({
  type: types.CHANGE_THEME,
  theme
});
export const playTransitionAction = isLoaded => ({
  type: types.LOAD_PAGE,
  isLoaded
});