Skip to content

Conversation

ericsoderberghp
Copy link
Contributor

What does this PR do?

Changed Notification to pass through additional properties.

These changes were necessary for grommet-designer:

  • don't crash on arbitrary values for status, which occurs when the user is editing the status
  • pass through additional props, which is necessary for onClick and style.

Where should the reviewer start?

Notification.js

What testing has been done on this PR?

added a unit test
built and tested in a local instance of grommet-designer

Do Jest tests follow these best practices?

  • asFragment() is used for snapshot testing.

Do the grommet docs need to be updated?

no

Should this PR be mentioned in the release notes?

yes

Is this change backwards compatible or is it a breaking change?

backwards compatible

@ericsoderberghp ericsoderberghp requested a review from jcfilben May 20, 2022 01:19
@halocline
Copy link
Collaborator

Is it possible for this PR to resolve this issue as well?

Copy link
Collaborator

@jcfilben jcfilben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jcfilben jcfilben linked an issue May 20, 2022 that may be closed by this pull request
@ericsoderberghp ericsoderberghp merged commit 3d53ae3 into master May 20, 2022
@ericsoderberghp ericsoderberghp deleted the fix/notification-rest branch May 20, 2022 17:50
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.

Notification Component is missing 'id' prop
3 participants