design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

UtilityIcon prototype error

Open lalop opened this issue 4 years ago • 3 comments

Hello, I get this error on the developper console :

Warning: The <UtilityIcon /> component appears to be a function component that returns a class instance. Change UtilityIcon to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `UtilityIcon.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.

lalop avatar Jan 12 '21 09:01 lalop

Thanks for opening your first issue! :wave: If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.

welcome[bot] avatar Jan 12 '21 09:01 welcome[bot]

What component are you rendering? Can it be with website examples?

interactivellama avatar Jun 14 '21 16:06 interactivellama

This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you.

stale[bot] avatar Apr 19 '22 01:04 stale[bot]