Feature / Add loading state to camera app (#200)

* (feat/camera-loading): Add loading state to camera app

* Fix imports + Add timeout

* Use actual function :D
This commit is contained in:
J Francisco Rader authored and GitHub committed 2021-04-10 16:19:25 -03:00
1 parent e1e6e8440d
commit b97cc4102d
10 files changed
+43 -36

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ export interface IPhoto {
export enum PhotoEvents {
TAKE_PHOTO = 'npwd:TakePhoto',
TAKE_PHOTO_SUCCESS = 'npwd:TakePhotoSuccess',
TAKE_PHOTO_ERROR = 'npwd:TakePhotoError',
UPLOAD_PHOTO = 'npwd:UploadPhoto',
UPLOAD_PHOTO_SUCCESS = 'npwd:UploadPhotoSuccess',
FETCH_PHOTOS = 'npwd:FetchPhotos',