lib/index.js
function getComponentName(target) {
  if (target.displayName && typeof target.displayName === 'string') {
    return target.displayName;
  }

  return target.name || 'Component';
}
function getComponentName(target) {
  if (target.displayName && typeof target.displayName === 'string') {
    return target.displayName;
  }

  return target.name || 'Component';
}
function getComponentName ( target ) { if ( target . displayName && typeof target . displayName === 'string' ) { return target . displayName ; } return target . name || 'Component' ; }
attempt to get the wrapped component's name
attempt to get the wrapped component s name