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

Function formatLabel

code/new-context-api/public/app.js:6844–6848  ·  view source on GitHub ↗
(label, warning$$1)

Source from the content-addressed store, hash-verified

6842};
6843
6844var formatLabel = function (label, warning$$1) {
6845 var prefix = warning$$1 ? warningEmoji + ' ' : reactEmoji + ' ';
6846 var suffix = warning$$1 ? ' Warning: ' + warning$$1 : '';
6847 return '' + prefix + label + suffix;
6848};
6849
6850var beginMark = function (markName) {
6851 performance.mark(formatMarkName(markName));

Callers 1

endMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected