MCPcopy Index your code
hub / github.com/plotly/dash / getWrappedName

Function getWrappedName

dash/deps/react@18.2.0.js:502–511  ·  view source on GitHub ↗
(outerType, innerType, wrapperName)

Source from the content-addressed store, hash-verified

500 }
501
502 function getWrappedName(outerType, innerType, wrapperName) {
503 var displayName = outerType.displayName;
504
505 if (displayName) {
506 return displayName;
507 }
508
509 var functionName = innerType.displayName || innerType.name || '';
510 return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
511 } // Keep in sync with react-reconciler/getComponentNameFromFiber
512
513
514 function getContextName(type) {

Callers 1

getComponentNameFromTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…