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
feat: add Svg component #1091
feat: add Svg component #1091
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 31186b1:
|
seems usefull, is it done? |
@drcmda it is ready to go imho. Not sure if I should resolve the change requests or the change request authors are in charge of deciding that. The only thing I could say to maybe add if you want is ability to pass the material type (Phong/Standard, etc) to use but I'm not sure how to do that and keep a nice JSX style. I guess if that's wanted we can always do another PR? The other thing is that not all SVG types load, but that's an issue with |
lets keep it simple for the interest of tracking, upgrades can be made in other PRs. 👍🏼 great work! |
🎉 This PR is included in version 9.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Why
So is easy to render SVG stuff.
What
Added an
Svg
r3f component that can render SVG data in three.Is a wrapper around the svg loader demo.
Storybook PR link
Checklist