-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support SVGs as images in notification components (#1720)
* Support SVGs as images in Notifications * Add changeset * Update packages/circuit-ui/components/NotificationFullscreen/NotificationFullscreen.spec.tsx Co-authored-by: Robin Métral <robin.metral@sumup.com> * Add alt prop support for SVGs for NotificationFullscreen This also improves tests and type descriptions. * Add alt prop support for SVGs for NotificationModal This also improves tests and type descriptions. * Tweak comments * Update changeset Co-authored-by: Robin Métral <robin.metral@sumup.com>
- Loading branch information
1 parent
88f6b22
commit d3c6165
Showing
13 changed files
with
1,237 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sumup/circuit-ui': minor | ||
--- | ||
|
||
Added support for passing an SVG component as `image.svg` to the `NotificationFullscreen` and `NotificationModal` components. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
d3c6165
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.
Successfully deployed to the following URLs:
oss-circuit-ui – ./
oss-circuit-ui.sumup-vercel.app
circuit-ui.vercel.app
circuit.sumup.com
oss-circuit-ui-git-main.sumup-vercel.app