import { TOGGLE_VISIBILITY } from './actions';

function toggleVisibility(props, state = false, action) {
  return action.type === TOGGLE_VISIBILITY ? !state : state
}

export default function reducer(props, state = {}, action) {
  return {
    isVisible: toggleVisibility(props, state.isVisible, action)
  };
}

@@ -86,12 +86,29 @@
 e = 
-fals
+props.defaultIsVisibl
 e, a

Use defaultIsVisible prop as default value