const displayName = Component => {
  const nOrD = Component.name || Component.displayName
  if (nOrD) {
    return nOrD
  }

  const tOrC = Component.constructor ? Component.constructor : Component.type ? Component.type : Component

  return tOrC.displayName || 'Unknown'
}

export default displayName

export const wrapDisplayName = (wrapperName, Component) => `${wrapperName}(${displayName(Component)})`

@@ -28,16 +28,128 @@
 nt =%3E %7B%0A
+  if (!Component %7C%7C typeof Component === 'string' %7C%7C typeof Component === 'number') %7B%0A    return 'Unknown'%0A  %7D%0A%0A
   const 

fix display name for non-object components