-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not use as a JSX Component #17
Comments
@proeric this is not a React component, so it cannot be used directly as such. But you can easily convert it into one using react-kapsule. import fromKapsule from 'react-kapsule';
import circlePackChart from 'circlepack-chart';
const CirclePackComponent = fromKapsule(circlePackChart); |
I'm having difficulty to loading it with
returns Any help greatly appreciated! |
Most likely it has to do with |
I could solve it by wrapping in a separate component, i.e. Use
with the
Just in case someone else runs into the same issue. |
The text was updated successfully, but these errors were encountered: