lugolabs / circles

A lightweight JavaScript library that generates circular graphs in SVG.

Home Page:https://www.lugolabs.com/circles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work with JSX (React) because of Class / className conflict

danbrierton opened this issue · comments

commented

If you find/replace all instance of "class" with "className" in the circles.js files, it works just fine. However, you run into issues whenever someone npm/yarn installs because the registered module doesn't contain those changes.

commented

I checked out a branch and uploaded the changes to work with JSX, but it doesn't show. Not sure if you see them or not. Sorry if that is wrong or bad etiquette, I'm pretty new to GitHub.