clarify description of duration for setToast

This commit is contained in:
MikeCAT 2024-01-26 20:02:29 +09:00
parent 10bd08ef19
commit 2cdcb18aee

View file

@ -320,7 +320,7 @@ This API can be used to show the toast with custom message.
| --- | --- | --- |
| message | string | The message to be shown on the toast. |
| closable | boolean | Indicates whether to show the closable button on toast to dismiss the toast. |
| duration | number | Determines the duration after which the toast should auto dismiss. To prevent autodimiss you can pass `Infinity`. |
| duration | number | Determines the duration in milliseconds after which the toast should auto dismiss. To prevent autodimiss you can pass `Infinity`. |
To dismiss an existing toast you can simple pass `null`