Skip to content

Commit

Permalink
feat(v5): Change Toast default delay to 5000 (#5570)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Dec 21, 2020
1 parent f0c4b67 commit c3a98f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Toast: BsPrefixRefForwardingComponent<
transition: Transition = Fade,
show = true,
animation = true,
delay = 3000,
delay = 5000,
autohide = false,
onClose,
...props
Expand Down
4 changes: 4 additions & 0 deletions www/src/pages/migrating.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ spacing, use margin utilities instead.

- dropped `InputGroupPrepend` and `InputGroupAppend`. Buttons and `InputGroupText` can now be added as direct children.

### Toast

- `delay` is now default 5000 ms.

### ToggleButton

- add `bsPrefix`.
Expand Down

0 comments on commit c3a98f8

Please sign in to comment.