feat ContextMenu: Rename and Delete
This commit is contained in:
22
src/js/actions/navigation.js
Normal file
22
src/js/actions/navigation.js
Normal file
@ -0,0 +1,22 @@
|
||||
import { NAVIGATION, TOGGLE } from 'actions/types';
|
||||
|
||||
export function show() {
|
||||
return {
|
||||
type: NAVIGATION,
|
||||
active: true
|
||||
}
|
||||
}
|
||||
|
||||
export function hide() {
|
||||
return {
|
||||
type: NAVIGATION,
|
||||
active: false
|
||||
}
|
||||
}
|
||||
|
||||
export function toggle() {
|
||||
return {
|
||||
type: NAVIGATION,
|
||||
active: TOGGLE
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user