digidem / react-dimensions

[Looking for maintainers]

Home Page:http://lab.digital-democracy.org/react-dimensions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set display name

legomind opened this issue · comments

Currently the wrapped component displays _class in the react inspector

Could be as simple as this:

return class extends React.Component {
  static displayName = `Dimensions(${ ComposedComponent.displayName || ComposedComponent.name })`
...
}