diff --git a/src/devTools.js b/src/devTools.js index 03db74b7..07b27ba3 100644 --- a/src/devTools.js +++ b/src/devTools.js @@ -5,7 +5,9 @@ const ActionTypes = { COMMIT: 'COMMIT', SWEEP: 'SWEEP', TOGGLE_ACTION: 'TOGGLE_ACTION', - JUMP_TO_STATE: 'JUMP_TO_STATE' + JUMP_TO_STATE: 'JUMP_TO_STATE', + HIDE: 'HIDE', + SHOW: 'SHOW' }; const INIT_ACTION = { @@ -204,6 +206,12 @@ export const ActionCreators = { sweep() { return { type: ActionTypes.SWEEP }; }, + show() { + return { type: ActionTypes.SHOW } + }, + hide() { + return { type: ActionTypes.HIDE } + }, toggleAction(index) { return { type: ActionTypes.TOGGLE_ACTION, index }; },