From 7b66d2cd74f0cf5a73f9d8a734ff451da1ad1841 Mon Sep 17 00:00:00 2001 From: MahdiMajdian Date: Wed, 13 Nov 2024 13:27:41 +0330 Subject: [PATCH 1/2] update stickydoc.js to make the options more clear --- 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..58a063c06b 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 disappears after 3000ms which is the default value defined for life option, set sticky to true in the option object to display messages that do not hide automatically.

From 127796ae37e4d0456b4dc462297f53e322fc94d5 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 13 Nov 2024 07:55:44 -0500 Subject: [PATCH 2/2] Update stickydoc.js --- 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 58a063c06b..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 which is the default value defined for life option, set sticky to true in the option object 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".