Open basickarl opened 1 month ago
Whats your use case?
So we have a progress bar in one of our custom toasts, we would like to be able to call this function to update the percentage value of the progress bar inside a toast (or do any manipulation to the toast at runtime for custom toasts). I currently have this working but it's hacky DOM manipulation and would prefer to do it via a proper API.
Hi! It would be really nice to make it possible to add custom functions/callbacks to toastProps.
something like this would be great. We want to update the internals of a toast.