Skip to content

Conversation

joshblack
Copy link
Member

Closes #3730

We have some pre-existing work for this for Button based on: #2806 where we updated the default type to type="button". This mirrors this change over in IconButton

Changelog

New

Changed

  • Update default type for IconButton to be type="button"

Removed

@joshblack joshblack requested review from a team and josepmartins September 11, 2023 15:31
@changeset-bot
Copy link

changeset-bot bot commented Sep 11, 2023

🦋 Changeset detected

Latest commit: 377fd92

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 Minor

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 Sep 11, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 100.69 KB (+0.01% 🔺)
dist/browser.umd.js 101.28 KB (+0.01% 🔺)

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.

IconButton is of type submit by default

3 participants