TheWidlarzGroup / react-native-notificated

⚡️React Native toast notifications

Home Page:https://thewidlarzgroup.github.io/react-native-notificated/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[IMPROVEMENT] How about using SVG assets instead of png?

nemadep opened this issue · comments

Is your feature request related to a problem? Please describe.
Not Really!! Replacing the current PNGs with SVG and then referring to them as a component.

Describe the solution you'd like
Use them as React Components. Eventually, you can animate this SVG and make it look out of the box!

Hi! 👋🏽
Thanks for the suggestion, seems like a good idea!

So the solution you'd like to have is simple a way to pass a component as a `leftIconSource' to the default variant? 🤔

@danielmark0116 , Also, can you place all the PNGs with SVGs.
Moreover, you can use this https://react-svgr.com/playground/ and convert the SVG into react component.
There wont be any lag and also, decreases the bundle size too.

Hi @nemadep 👋 , how's going?

It's been a while since we had that discussion, but I'm curious if you've been using react-native-notificated recently?