Skip to content

Commit 3de42e4

Browse files
committed
Merge pull request #2 from enjoylife/patch-1
Add a displayName for React dev support Fixes #1
2 parents 3755653 + a908f27 commit 3de42e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

NativeListener.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ var React = require('react'),
4545
NativeListener;
4646

4747
NativeListener = React.createClass({
48+
displayName: 'NativeListener',
4849
propTypes: propTypes,
4950
componentDidMount: function () {
5051
var props = this.props,
@@ -70,4 +71,4 @@ NativeListener = React.createClass({
7071
return this.props.children;
7172
}
7273
});
73-
module.exports = NativeListener;
74+
module.exports = NativeListener;

0 commit comments

Comments
 (0)