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