Skip to content

Conversation

@dmarcey
Copy link
Contributor

@dmarcey dmarcey commented Sep 16, 2019

I went through the different Props interfaces for primer/components and anywhere we spread the props onto a native element (div, span, a, etc.) or a different component (Box, Button, etc.) I had the props for that component extend the underlying component's props.

This makes it so that the TypeScript definitions more accurately reflect what the JavaScript is doing.

Closes # 540

Merge checklist

  • Changed base branch to release branch
  • Add or update TypeScript definitions (index.d.ts) if necessary
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

@vercel
Copy link

vercel bot commented Sep 16, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@dmarcey dmarcey requested a review from emplums September 16, 2019 20:57
Copy link

@emplums emplums 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, thanks for doing this!

@emplums emplums changed the base branch from master to release-14.0.0 September 23, 2019 20:04
@emplums emplums merged commit 23cc762 into release-14.0.0 Sep 24, 2019
@emplums emplums deleted the users/dmarcey/nativeProps branch October 22, 2019 19:23
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.

5 participants