react-compinators
    Preparing search index...

    Function wrapDisplayName

    • Returns given component with its displayName wrapped by the given string according to React HOC conventions: HOC_NAME(COMPONENT_NAME). If the optional source argument is given, then it will be used as the source of the displayName to be wrapped instead of the component given in the component argument.

      Type Parameters

      Parameters

      Returns (wrapper: string) => Component