(outerType, innerType, wrapperName)
| 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) { |
no outgoing calls
no test coverage detected
searching dependent graphs…