react-billboardjs
react-billboardjs copied to clipboard
issues with "type"
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