mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-25 21:14:52 +08:00
[js][statics] implemented staticsOrInstance helper - fixes #12
This commit is contained in:
@@ -108,3 +108,16 @@ export default class Storage extends Base {
|
||||
}
|
||||
}
|
||||
|
||||
export const statics = {
|
||||
TaskEvent: {
|
||||
STATE_CHANGED: 'state_changed',
|
||||
},
|
||||
TaskState: {
|
||||
RUNNING: 'RUNNING',
|
||||
PAUSED: 'PAUSED',
|
||||
SUCCESS: 'SUCCESS',
|
||||
CANCELED: 'CANCELED',
|
||||
ERROR: 'ERROR',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user