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.
Returns given component with its
displayName
wrapped by the given string according to React HOC conventions:HOC_NAME(COMPONENT_NAME)
. If the optionalsource
argument is given, then it will be used as the source of thedisplayName
to be wrapped instead of the component given in thecomponent
argument.