-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Allow toast options to be configured from the toaster #27820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow toast options to be configured from the toaster #27820
Conversation
Allows toaster to set default options for toasts
📊 Bundle size report🤖 This report was generated against e741b289a0cda2711146d171d3b08deb8bb7a156 |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d5b1234:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: e741b289a0cda2711146d171d3b08deb8bb7a156 (build) |
packages/react-components/react-toast/src/components/Toaster.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-toast/src/state/vanilla/toaster.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-toast/src/state/vanilla/dispatchToast.ts
Outdated
Show resolved
Hide resolved
* feat/drawer-header: feat: Update existing toasts (microsoft#27827) bugfix: fix horizontal overflow on tree (microsoft#27825) feat: Allow toast options to be configured from the toaster (microsoft#27820) feat: creates TreeItemAside component (microsoft#27701) fix: generate API fix: use composition to build DrawerHeaderTitle Virtualizer: Dynamic scroll view and optimizations (microsoft#27298) bugfix(react-dialog): change DialogTitle default action icon size (microsoft#27815) feat: Implement Toast pause (microsoft#27811) fix: ToolbarToggleButton should not follow Toolbar size (microsoft#27797) feat: defers useControllableState state to initializer method (microsoft#27717) feat: Implement toast dismiss (microsoft#27810)
Allows toaster to set default options for toasts
Addresses #27776