-
Notifications
You must be signed in to change notification settings - Fork 568
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
Add support for importing SVG, PNG, and JPEG files directly #2284
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2284 +/- ##
=======================================
Coverage 96.60% 96.60%
=======================================
Files 337 337
Lines 7622 7629 +7
Branches 1183 1186 +3
=======================================
+ Hits 7363 7370 +7
Misses 259 259 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use some other example than this icon we are trying to remove? 😅
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
This adds support for importing SVG, PNG, and JPEG files directly in a Snap. For example, you can now use this:
And use that image in a snap UI using the image component:
Internally the image is converted to an SVG string by the CLI, which makes this possible.