MCPcopy
hub / github.com/ctrlplusb/react-sizeme / getDisplayName

Function getDisplayName

src/with-size.js:24–26  ·  view source on GitHub ↗
(WrappedComponent)

Source from the content-addressed store, hash-verified

22}
23
24function getDisplayName(WrappedComponent) {
25 return WrappedComponent.displayName || WrappedComponent.name || 'Component'
26}
27
28/**
29 * This is a utility wrapper component that will allow our higher order

Callers 2

with-size.jsFile · 0.85
SizeAwareComponentClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…