diff options
Diffstat (limited to 'client/actions')
| -rw-r--r-- | client/actions/index.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/client/actions/index.js b/client/actions/index.js new file mode 100644 index 0000000..ddbf9ee --- /dev/null +++ b/client/actions/index.js @@ -0,0 +1,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', +}) |
