summaryrefslogtreecommitdiff
path: root/client/actions/index.js
blob: ddbf9ee5d3d1225ecf55b86720e178b51b8a62a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export const setContent = (content) => ({
  type: 'SET_CONTENT',
  file: content
})

export const setStyle = (style) => ({
  type: 'SET_STYLE',
  file: style
})

export const setAlpha = (alpha) => ({
  type: 'SET_ALPHA',
  alpha,
})

export const createTask = () => ({
  type: 'CREATE_TASK',
})

export const addTask = () => ({
  type: 'ADD_TASK',
})