Created
November 20, 2015 22:22
-
-
Save michaltakac/7a9641ec6fc81a987bc9 to your computer and use it in GitHub Desktop.
Meteorboard - UI actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const ON_SIDE_MENU_CHANGE = 'ON_SIDE_MENU_CHANGE'; | |
export const TOGGLE_SIDE_MENU = 'TOGGLE_SIDE_MENU'; | |
export function onSideMenuChange(isOpen) { | |
return { | |
type: ON_SIDE_MENU_CHANGE, | |
payload: {isOpen} | |
}; | |
} | |
export function toggleSideMenu() { | |
return { | |
type: TOGGLE_SIDE_MENU | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment