MCPcopy
hub / github.com/react-component/form / getDisplayName

Function getDisplayName

src/utils.js:5–7  ·  view source on GitHub ↗
(WrappedComponent)

Source from the content-addressed store, hash-verified

3import { isMemo } from 'react-is';
4
5function getDisplayName(WrappedComponent) {
6 return WrappedComponent.displayName || WrappedComponent.name || 'WrappedComponent';
7}
8
9export function argumentContainer(Container, WrappedComponent) {
10 /* eslint no-param-reassign:0 */

Callers 1

argumentContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected