mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
4 lines
132 B
JavaScript
4 lines
132 B
JavaScript
export function getDisplayName(WrappedComponent) {
|
|
return WrappedComponent.displayName || WrappedComponent.name || 'Component';
|
|
}
|