diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx index b7a3bab5f..d4dc83d94 100644 --- a/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx +++ b/dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx @@ -333,7 +333,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`