MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / formatLabel

Function formatLabel

code/third-party/public/app.js:6716–6720  ·  view source on GitHub ↗
(label, warning$$1)

Source from the content-addressed store, hash-verified

6714};
6715
6716var formatLabel = function (label, warning$$1) {
6717 var prefix = warning$$1 ? warningEmoji + ' ' : reactEmoji + ' ';
6718 var suffix = warning$$1 ? ' Warning: ' + warning$$1 : '';
6719 return '' + prefix + label + suffix;
6720};
6721
6722var beginMark = function (markName) {
6723 performance.mark(formatMarkName(markName));

Callers 1

endMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected