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