[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:
Alexey Sachkov committed 2021-12-29 21:18:54 +03:00
1 parent 7b19bbb1a7
commit 8a3f52b704
23 files changed
+28 -2

No files matched your search

@@ -8,6 +8,7 @@ const MAIN_URL = 'https://www.reddit.com/r/UnearthedArcana/submit?selftext=true'
const RedditShare = createClass({
displayName : 'RedditShareNavItem',
getDefaultProps : function() {
return {
brew : {