Is there a way to set a Custom Component? #385
Unanswered
chrisspiegl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Toastification Community,
is there a way to set a custom component as the default component without having to apply that component every time a toast is fired and instead just being able to set the props on the message?
I have found the option to overwrite the default options on a per toast type basis. However, this only adjusts the duration, hideProgressBar, and the like. I have not yet figured out how to overwrite / set a custom component as the default.
Here is how it works now:
Here is how I would like it to work:
Beta Was this translation helpful? Give feedback.
All reactions