text: import {
      SET_COLOR_SCHEME,
      SET_ACTIVE_TAB,
      SET_SCROLL_POSITION,
      SET_SCROLL_POSITION_BY_ID
  } from './actionTypes';
  
  export const setColorScheme = (scheme) => (
      {
          type: SET_COLOR_SCHEME,
          payload: scheme
      }
  );
  
  export const setActiveTab = (component, tab) => (
      {
          type: SET_ACTIVE_TAB,
          payload: {
              component,
              tab
          }
      }
  );
  
  export const setScrollPosition = (component, x = 0, y = 0) => (
      {
          type: SET_SCROLL_POSITION,
          payload: {
              component,
              x,
              y
          }
      }
  );
  
  export const setScrollPositionByID = (component) => (
      {
          type: SET_SCROLL_POSITION_BY_ID,
          payload: {
              component
          }
      }
  );