Initial git
This commit is contained in:
20
app/actions/imageUploaderActions.jsx
Normal file
20
app/actions/imageUploaderActions.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
// - Import image uploader action types
|
||||
import * as types from 'actionTypes'
|
||||
|
||||
|
||||
// - Image uploader actions
|
||||
|
||||
export const openImageUploader = (status)=> {
|
||||
return {
|
||||
type: types.OPEN_IMAGE_UPLOADER,
|
||||
status
|
||||
}
|
||||
}
|
||||
|
||||
export const openImageEditor = (editStatus) =>{
|
||||
return{
|
||||
type: types.OPEN_IMAGE_EDITOR,
|
||||
editStatus
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user