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

Pass through FormControl.Label props #3262

Merged
merged 4 commits into from
May 8, 2023

Conversation

mattcosta7
Copy link
Collaborator

FormControl.Label was only passing through a handful of the valid props (compared to what typescript allows). This passes through all props to the underlying element

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@mattcosta7 mattcosta7 requested review from a team and mperrotti May 8, 2023 14:17
@changeset-bot
Copy link

changeset-bot bot commented May 8, 2023

🦋 Changeset detected

Latest commit: c20370f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 121.57 KB (+0.05% 🔺)
dist/browser.umd.js 121.8 KB (+0.05% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-3262 May 8, 2023 14:23 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3262 May 8, 2023 14:26 Inactive
@mattcosta7 mattcosta7 temporarily deployed to github-pages May 8, 2023 14:31 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3262 May 8, 2023 14:32 Inactive
@mattcosta7 mattcosta7 added this pull request to the merge queue May 8, 2023
Merged via the queue into main with commit 7f2ddce May 8, 2023
28 checks passed
@mattcosta7 mattcosta7 deleted the form-control-label-passthrough-props branch May 8, 2023 17:07
This was referenced May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants