Skip to content

feat(Notifications): Allowed ReactNode in source icon + added sourcePlacement property (bottom is used by default) #278

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

Merged
merged 8 commits into from
Apr 28, 2025

Conversation

Ruminat
Copy link
Contributor

@Ruminat Ruminat commented Apr 21, 2025

Before

image

After

изображение

What changed in the code

  • I did some refactoring of the Notification component
  • renamed some classNames,
  • added custom: React.ReactNode property to NotificationIcon

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@Ruminat
Copy link
Contributor Author

Ruminat commented Apr 28, 2025

@korvin89 I made all the design corrections, so you can review it now

@Ruminat Ruminat merged commit 08c403a into main Apr 28, 2025
4 checks passed
@Ruminat Ruminat deleted the feat/design-changes-in-notifications-component branch April 28, 2025 12:16
@Ruminat Ruminat changed the title feat(Notifications): Allowed ReactNode in source icon + moved the "source • date" to the bottom feat(Notifications): feat(Notifications): Allowed ReactNode in source icon + added sourcePlacement property (bottom is used by default) Apr 28, 2025
@Ruminat Ruminat changed the title feat(Notifications): feat(Notifications): Allowed ReactNode in source icon + added sourcePlacement property (bottom is used by default) feat(Notifications): Allowed ReactNode in source icon + added sourcePlacement property (bottom is used by default) Apr 28, 2025
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