design-system-react
design-system-react copied to clipboard
UtilityIcon prototype error
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.
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.
What component are you rendering? Can it be with website examples?
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.