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
Mark McDowall 5894b4fd95 v3 UI
2018-12-29 13:08:43 +01:00

4 lines
119 B
JavaScript

export default function getDisplayName(Component) {
return Component.displayName || Component.name || 'Component';
}