docs: function getDisplayName(Component) {
    if (Component == null) {
      return undefined;
    }
  
    if (typeof Component === 'string') {
      return Component;
    }
  
    if (typeof Component === 'function') {
      return getFunctionComponentName(Component, 'Component');
    }
  
    if (typeof Component === 'object') {
      switch (Component.$$typeof) {
        case ForwardRef:
          return getWrappedName(Component, Component.render, 'ForwardRef');
        default:
          return undefined;
      }
    }
  
    return undefined;
  }