From d8e8c17c172a96a8dad4fc15c67056805d0c7179 Mon Sep 17 00:00:00 2001 From: MahdiMajdian Date: Wed, 13 Nov 2024 16:25:59 +0330 Subject: [PATCH] update stickydoc.js to make the options more clear (#7411) * update stickydoc.js to make the options more clear * Update stickydoc.js --------- Co-authored-by: Melloware --- components/doc/toast/stickydoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/doc/toast/stickydoc.js b/components/doc/toast/stickydoc.js index 4ef80d0eb7..df5a3d9412 100644 --- a/components/doc/toast/stickydoc.js +++ b/components/doc/toast/stickydoc.js @@ -81,7 +81,7 @@ export default function StickyDemo() { <>

- A message disappears after 3000ms defined the life option, set sticky option to display messages that do not hide automatically. + A message will disappear after 3000ms, the default value defined for the life option. To display messages that remain visible and do not hide automatically, set the sticky option to "true".