-
Notifications
You must be signed in to change notification settings - Fork 51
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
Option to pass styles through the style
attribute
#32
Comments
I'd be happy to accept a PR for this. An aside, I do wonder if this should be converted to be a component with |
Converting it into a component seems like a cool idea. Would be happy to play around with this over the weekend, if no one else is working on it. |
A couple of questions, regarding converting this into a component. I understand we'd use the component tagName property and strip the tag, but then we would need to add back all the attributes that were specified on the tag, wouldn't we? What would be the best way to go about this? |
I played around with this and here's a hacky version that works....
Can you let me know what changes i need to make, so that i can send a pr... |
Would be helpful in cases where we need to style the svg using dynamically generated values or values from an external source..
The text was updated successfully, but these errors were encountered: