Skip to content

Commit

Permalink
Add missing DeviceEventEmitter api
Browse files Browse the repository at this point in the history
  • Loading branch information
zabojad committed Dec 18, 2018
1 parent 2a84ced commit 4fbf988
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/react/native/api/DeviceEventEmitter.hx
@@ -0,0 +1,6 @@
package react.native.api;

@:jsRequire('react-native', 'DeviceEventEmitter')
extern class DeviceEventEmitter {
static public function addListener(eventName : String, cb : Dynamic -> Void) : Void;
}

0 comments on commit 4fbf988

Please sign in to comment.