Skip to content
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(admin-ui): Toast component #4249

Open
wants to merge 12 commits into
base: feat/new-admin-ui
Choose a base branch
from
Open

Conversation

leopuleo
Copy link
Contributor

@leopuleo leopuleo commented Sep 4, 2024

This PR adds the Toast component to the @webiny/admin-ui package.

We are exporting a props-based flat component based on the following radix component.

The new component is fully compatible with the old Snackbar component, but some refactoring is needed when UI tokens are defined.

The useSnackbar hook is fully compatible with the new Toast component. Refactoring the hook will be necessary; a separate PR will address it.

@leopuleo leopuleo marked this pull request as ready for review September 4, 2024 08:25
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.

1 participant