-
Notifications
You must be signed in to change notification settings - Fork 403
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
Please add support for adding a custom icon before the text #123
Comments
Yes, I am also looking for this feature |
Hi Guys! I had the same issue but I tried to add an React element in the message and it works.
|
@kilisoria this is custom here background black |
I'm not sure but I think you can try to modify the styles for Toast main container, there is a property for that, and set same background color or modify margin/padding sizes. |
@kilisoria This is how I achieved my requirement
BTW, I didn't find Toast main container prop. Can you let me know the prop name and where is it mentioned in the documentation? |
Hey This is Awesome!. In fact, usually package maintainers are not mentioning all the available props in the documentation. Is there any way to find out through |
please update types from msg: string to ReactNode |
Created PR to adjust type for message: https://github.com/magicismight/react-native-root-toast/pull/150/files EDIT: I also just found this PR: #111 which fixes the type and does additional stuff regarding RectNode support. Not sure if that is necessary as apparently it already works, so only the type should be wrong but maybe there are some specific components that make it necessary? |
Any updates? Support react node type is really much needed |
Waiting for this. It would be very usefull. |
Is this feature something that is planned? Or is this library not maintained anymore? :-) |
No description provided.
The text was updated successfully, but these errors were encountered: