headergroup.js 306 Bytes
import * as types from '../constants/ActionTypes'

export const cloneElement = (element) => ({
  type: types.CLONE_ELEMENT,
  element
})

export const deleteLastElement = () => ({
  type: types.DELETE_LAST_ELEMENT
})

export const deleteElement = (element) => ({
  type: types.DELETE_ELEMENT,
  element
})