mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 11:02:38 +00:00
[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:
@@ -26,6 +26,7 @@ const splice = function(str, index, inject){
|
||||
|
||||
|
||||
const Editor = createClass({
|
||||
displayName : 'Editor',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
brew : {
|
||||
|
||||
@@ -8,6 +8,7 @@ const request = require('superagent');
|
||||
const SYSTEMS = ['5e', '4e', '3.5e', 'Pathfinder'];
|
||||
|
||||
const MetadataEditor = createClass({
|
||||
displayName : 'MetadataEditor',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
metadata : {
|
||||
|
||||
@@ -14,6 +14,7 @@ const execute = function(val, brew){
|
||||
};
|
||||
|
||||
const Snippetbar = createClass({
|
||||
displayName : 'SnippetBar',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
brew : {},
|
||||
@@ -103,6 +104,7 @@ module.exports = Snippetbar;
|
||||
|
||||
|
||||
const SnippetGroup = createClass({
|
||||
displayName : 'SnippetGroup',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
brew : {},
|
||||
|
||||
Reference in New Issue
Block a user