You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2019. It is now read-only.
Horror is a great lib, I really enjoy styling my components like this.
Do you have plan to add support for svg tags? Maybe with a dependency like https://www.npmjs.com/package/svg-tags
I could do the PR if you want 🙂
The text was updated successfully, but these errors were encountered:
Thanks! I think you can use SVGs now with the is prop – e.g. <H is='path' />, but it could make sense to have an optional horror/svg module with shortcuts like H.path and H.Path. Quickly glancing at the code, it looks like it's looping through html-tags in a couple places, and I think that could be DRYed up and passed as a second options argument to the create function, if you wanna take a stab at a PR
@jxnblk I understand, but what about emotion support? Should I add the optional horror/emotion/svg too? Or maybe add create a conditional to import styled-components OR react-emotion?
Hello @jxnblk,
Horror is a great lib, I really enjoy styling my components like this.
Do you have plan to add support for svg tags? Maybe with a dependency like https://www.npmjs.com/package/svg-tags
I could do the PR if you want 🙂
The text was updated successfully, but these errors were encountered: