1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-25 11:13:39 +02:00
Sonarr/frontend/src/Helpers/getDisplayName.js

4 lines
119 B
JavaScript
Raw Normal View History

2018-01-12 18:01:27 -08:00
export default function getDisplayName(Component) {
return Component.displayName || Component.name || 'Component';
}