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

issues with "type"

Open RobinDeeCee opened this issue 9 months ago • 0 comments

Hey,

I think there is some problems related to the type prop: for example type:"line"

gives this as in the console Uncaught Error: [billboard.js] Please, make sure if 'bar' module has been imported and specified correctly.

We can work around this by importing line from billboard itself and use the ESM in the code: import { line } from "billboard.js"; type:line()

that works but I don't think we should really do that before calling the billboard component. If there is something wrong about my approach, or I looking over something. I do appreciate feedback

Thanks

RobinDeeCee avatar Sep 08 '23 06:09 RobinDeeCee