zanettin/incompose

View on GitHub
src/wrapDisplayName.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @author recompose (https://github.com/acdlite/recompose)
 */

import getDisplayName from './getDisplayName';

const wrapDisplayName = (BaseComponent, hocName) =>
    `${hocName}(${getDisplayName(BaseComponent)})`;

export default wrapDisplayName;