slim_mode for JSX elements to hide/show depending on responsive rules

This commit is contained in:
James Barnsley
2017-07-17 07:16:33 +12:00
parent 1889186bed
commit d757792495
12 changed files with 80 additions and 30 deletions

View File

@ -30,6 +30,13 @@ export function showContextMenu(data){
}
}
export function setSlimMode(slim_mode){
return {
type: 'SET_SLIM_MODE',
slim_mode: slim_mode
}
}
export function hideContextMenu(){
return {
type: 'HIDE_CONTEXT_MENU'