Skip to content

Commit

Permalink
update stickydoc.js to make the options more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiMajdian authored Nov 13, 2024
1 parent a5d0c1c commit 7b66d2c
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 disappears after 3000ms which is the default value defined for <i>life</i> option, set <i>sticky</i> to true in the option object to display messages that do not hide automatically.
</p>
</DocSectionText>
<div className="card flex justify-content-center">
Expand Down

0 comments on commit 7b66d2c

Please sign in to comment.