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(ui): add close button to Notification #535

Merged
merged 3 commits into from
Jan 18, 2024
Merged

Conversation

emrberk
Copy link
Contributor

@emrberk emrberk commented Jan 18, 2024

Management Center has Healthcheck banner using Notification component, indicating the problem count. The user should be able to close the banner, especially when there's no action to be taken.
This PR adds a close button to Notification component, and leaves the close logic to the parent component via callback.
Screenshots are updated.

packages/ui/src/Notification.tsx Outdated Show resolved Hide resolved
@emrberk emrberk merged commit 3c8fb16 into master Jan 18, 2024
3 checks passed
@emrberk emrberk deleted the feat/notificationClose branch January 18, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants