clarity-react
clarity-react copied to clipboard
NotSupportedError: Failed to execute 'define' on 'CustomElementRegistry': the name 'clr-icon' has already been used with this registry
Hi,
Thanks for your outstanding work making a react version of Clarity. I'm trying to implement a VC UI Plugin using clarity-react. And I'm able to install and use clarity-react by following https://github.com/EMCECS/clarity-react/issues/72 and https://github.com/EMCECS/clarity-react/issues/82.
I can load and use components like Card/Table successfully. And I load the components from dist after running make under folder node_modules/@dell/clarity-react.
e.g.
import { Table } from '@dell/clarity-react/dist/tables/Table'
But when I try to use the component Modal, I got the error:
Here is the code:

Any ideas? Thanks in advance.