(outerType, innerType, wrapperName)
| 1280 | } |
| 1281 | |
| 1282 | function getWrappedName(outerType, innerType, wrapperName) { |
| 1283 | var displayName = outerType.displayName; |
| 1284 | |
| 1285 | if (displayName) { |
| 1286 | return displayName; |
| 1287 | } |
| 1288 | |
| 1289 | var functionName = innerType.displayName || innerType.name || ''; |
| 1290 | return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName; |
| 1291 | } // Keep in sync with react-reconciler/getComponentNameFromFiber |
| 1292 | |
| 1293 | |
| 1294 | function getContextName(type) { |
no outgoing calls
no test coverage detected
searching dependent graphs…