emilkowalski / sonner

An opinionated toast component for React.

Home Page:https://sonner.emilkowal.ski

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Is it possible to dynamically update the custom type

basickarl opened this issue · comments

Is it possible to dynamically update the custom type (toast.custom) content without dismissing the current toast?

The reason we have a progress bar inside the toast and would like to update a value inside the toast. We are aware we can manipulate the DOM but are wondering if there is a mechanism not stated in the docs that can fix this.