[NFC] Add display name for custom React components
This improves readability of "Components" tab from React Development Tools extension for Chrome
This commit is contained in:
1 parent
7b19bbb1a7
commit
8a3f52b704
23 files changed
+28
-2
No files matched your search
@@ -40,6 +40,7 @@ if(typeof navigator !== 'undefined'){
|
||||
}
|
||||
|
||||
const CodeEditor = createClass({
|
||||
displayName : 'CodeEditor',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
language : '',
|
||||
|
||||
Reference in new issue
Block a user