Skip to content

Conversation

ShimiSun
Copy link
Collaborator

@ShimiSun ShimiSun commented Oct 28, 2022

What does this PR do?

It's a follow-up to #6431
The goal is for dropProps to accept style as a property. This behavior already exists in DateInput, Tip, but also needs alignment for other components as this PR suggests.

Where should the reviewer start?

Any ts file

What testing has been done on this PR?

local

How should this be manually tested?

Use style prop with dropProps before/after the fix.

Do Jest tests follow these best practices?

N/A

Any background context you want to provide?

It's a follow-up to #6431

What are the relevant issues?

Any bucket of TS bugs.

Screenshots (if appropriate)

Do the grommet docs need to be updated?

nope

Should this PR be mentioned in the release notes?

Yes, as a TS fix.

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

Yes. It extends the type of dropProps

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!

@ericsoderberghp ericsoderberghp merged commit 5ab3f58 into master Oct 31, 2022
@ericsoderberghp ericsoderberghp deleted the fix/dropType branch October 31, 2022 16:00
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