clarity-react icon indicating copy to clipboard operation
clarity-react copied to clipboard

NotSupportedError: Failed to execute 'define' on 'CustomElementRegistry': the name 'clr-icon' has already been used with this registry

Open AICrafterZheng opened this issue 5 years ago • 0 comments

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: error Here is the code: code

Any ideas? Thanks in advance.

AICrafterZheng avatar May 11 '20 23:05 AICrafterZheng