1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-27 00:02:25 +00:00
Lidarr/frontend/src/Helpers/getDisplayName.js
2017-09-05 23:00:26 -04:00

3 lines
119 B
JavaScript

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