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