Add support for ReactNode so an SVG component can be used for the image
tranhoangan22 opened this issue · 0 comments
tranhoangan22 commented
Component to amend
Context
Currently the NotificationFullscreen component only supports passing an image as a string via the image
prop. This doesn't allow for using an SVG component (e.g., those from @sumup/icons) which can only be passed in as a ReactNode. Extending support for ReactNode enables a more flexible use of this component.