Skip to content

Commit 75b445d

Browse files
committed
deprecate Toaster export
1 parent 4403ff4 commit 75b445d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
3131
- if you forward properties then they cannot have `Color` as type, use `ColorLike`
3232
- `@blueprintjs/core` library was updated to v6
3333
- you may need to update class names in your tests (the new prefix is `bp6-`)
34+
- `Toaster.create` is now an async function
3435
- `<MultiSelect />`
3536
- by default, if no searchPredicate or searchListPredicate is defined, the filtering is done via case-insensitive multi-word filtering.
3637

blueprint/toaster/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
import { OverlayToaster as Toaster } from "@blueprintjs/core";
1+
import { OverlayToaster } from "@blueprintjs/core";
2+
3+
/**
4+
* `OverlayToaster` from BlueprintJS, we still serve it as `Toaster`.
5+
* @deprecated (v27) will be completely removed.
6+
*/
7+
const Toaster = OverlayToaster;
28
export { Toaster };
39
export default Toaster;

0 commit comments

Comments
 (0)