Skip to content

feat: Implement Toaster according to composition API#28039

Merged
ling1726 merged 8 commits intomicrosoft:masterfrom
ling1726:react-toast/feat/toaster
May 31, 2023
Merged

feat: Implement Toaster according to composition API#28039
ling1726 merged 8 commits intomicrosoft:masterfrom
ling1726:react-toast/feat/toaster

Conversation

@ling1726
Copy link
Contributor

Implements the Toaster using the composition hook pattern. The Toaster component has one single root slot but it is mapped to potentially 4 different DOM elements (one for each toast position). The toaster does not support ref forwarding for this reason.

Fixes #27774

Implements the Toaster using the composition hook pattern. The Toaster
component has one single root slot but it is mapped to potentially 4
different DOM elements (one for each toast position). The toaster does
not support ref forwarding for this reason.
@ling1726 ling1726 marked this pull request as ready for review May 30, 2023 08:39
@ling1726 ling1726 requested a review from a team as a code owner May 30, 2023 08:39
@fabricteam
Copy link
Collaborator

fabricteam commented May 30, 2023

📊 Bundle size report

🤖 This report was generated against d7806642ac5e98ce57d87860e6a0e5f2d5225a4a

@size-auditor
Copy link

size-auditor bot commented May 30, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: d7806642ac5e98ce57d87860e6a0e5f2d5225a4a (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 30, 2023

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 40d991d:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@ling1726 ling1726 merged commit 93fe951 into microsoft:master May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Toaster component

6 participants