Skip to content

Commit

Permalink
update stickydoc.js to make the options more clear (#7411)
Browse files Browse the repository at this point in the history
* update stickydoc.js to make the options more clear

* Update stickydoc.js

---------

Co-authored-by: Melloware <[email protected]>
  • Loading branch information
MahdiMajdian and melloware authored Nov 13, 2024
1 parent a5d0c1c commit d8e8c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/doc/toast/stickydoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function StickyDemo() {
<>
<DocSectionText {...props}>
<p>
A message disappears after 3000ms defined the <i>life</i> option, set <i>sticky</i> option to display messages that do not hide automatically.
A message will disappear after 3000ms, the default value defined for the <i>life</i> option. To display messages that remain visible and do not hide automatically, set the <i>sticky</i> option to "true".
</p>
</DocSectionText>
<div className="card flex justify-content-center">
Expand Down

0 comments on commit d8e8c17

Please sign in to comment.