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

Function formatLabel

code/controlled-uncontrolled/public/app.js:6807–6811  ·  view source on GitHub ↗
(label, warning$$1)

Source from the content-addressed store, hash-verified

6805};
6806
6807var formatLabel = function (label, warning$$1) {
6808 var prefix = warning$$1 ? warningEmoji + ' ' : reactEmoji + ' ';
6809 var suffix = warning$$1 ? ' Warning: ' + warning$$1 : '';
6810 return '' + prefix + label + suffix;
6811};
6812
6813var beginMark = function (markName) {
6814 performance.mark(formatMarkName(markName));

Callers 1

endMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected