-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine 'as' prop type in button component and fix name of aria type (#…
…2659) * Refine as prop in button component and fix aria type * whoops, remove type change * fix lint bugs * changeset * use local mergeRef * undo package-lock changes * Update src/Button/ButtonBase.tsx * Update src/Button/ButtonBase.tsx Co-authored-by: Josh Black <joshblack@github.com> * fix eslint * define dev Co-authored-by: Josh Black <joshblack@github.com>
- Loading branch information
1 parent
5551fdd
commit 84d2997
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
Add a console warning if the Button and IconButton as property is used incorrectly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters