-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I am trying to use the Icon component in the docs but it appears that something is not working with the bundled click-ui version.
A simple usage like:
import {Icon} from '@clickhouse/click-ui/bundled';
<Icon
height="16"
name="history"
size="sm"
state="default"
width="16"
/>
Results in
Cannot read properties of undefined (reading 'icon')
TypeError: Cannot read properties of undefined (reading 'icon')
at eval (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:3884:32)
at Je (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:1135:13)
at e.generateAndInjectStyles (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:1174:22)
at eval (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:1247:30)
at eval (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:1249:8)
at O2 (eval at ./node_modules/@clickhouse/click-ui/dist/click-ui.bundled.es.js (http://localhost:3000/docs/main.js:1505:1), <anonymous>:1253:6)
at renderWithHooks (eval at ./node_modules/react-dom/cjs/react-dom.development.js (http://localhost:3000/docs/main.js:364:1), <anonymous>:15486:18)
at updateForwardRef (eval at ./node_modules/react-dom/cjs/react-dom.development.js (http://localhost:3000/docs/main.js:364:1), <anonymous>:19240:20)
at beginWork (eval at ./node_modules/react-dom/cjs/react-dom.development.js (http://localhost:3000/docs/main.js:364:1), <anonymous>:21670:16)
at HTMLUnknownElement.callCallback (eval at ./node_modules/react-dom/cjs/react-dom.development.js (http://localhost:3000/docs/main.js:364:1), <anonymous>:4164:14)
Possibly related to #604
Metadata
Metadata
Assignees
Labels
No labels