13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports["default"] = getDisplayName;
|
|
|
|
function getDisplayName(prefix, Component) {
|
|
var name = Component.displayName || Component.name || 'Component';
|
|
return "".concat(prefix, "(").concat(name, ")");
|
|
}
|
|
|
|
module.exports = exports.default; |