-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefix component with types exported from ActionList2 and ActionMenu2 (…
…#1883) * prefix component name to types * add changeset * Update .changeset/actionlist2-actionmenu2-prefix-types.md Co-authored-by: Cole Bemis <colebemis@github.com> Co-authored-by: Cole Bemis <colebemis@github.com>
- Loading branch information
Showing
3 changed files
with
31 additions
and
7 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,21 @@ | ||
--- | ||
'@primer/react': major | ||
--- | ||
|
||
`ActionList2` exported types are now prefixed with `ActionList`: | ||
|
||
``` | ||
ListProps → ActionListProps | ||
GroupProps → ActionListGroupProps | ||
ItemProps → ActionListItemProps | ||
DescriptionProps → ActionListDescriptionProps | ||
LeadingVisualProps → ActionListLeadingVisualProps, | ||
TrailingVisualProps → ActionListTrailingVisualProps | ||
``` | ||
|
||
`ActionMenu2` exported types are now prefixed with `ActionMenu`: | ||
|
||
``` | ||
MenuButtonProps → ActionMenuButtonProps | ||
MenuAnchorProps → ActionMenuAnchorProps | ||
``` |
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