New className API
wuct opened this issue · comments
Thanks for this awesome lib. I want to suggest a new className API, by which we can pass down a className to <svg />
.
For example:
<MorphReplace className="foo"/>
will generate
<svg className="foo">
I would like to open a PR for this, if the API looks good to you.
Sure if you find that useful why not