Skip to content

Commit

Permalink
fix: IconButton size type (#2605)
Browse files Browse the repository at this point in the history
* fix: IconButton size type

* chore: changelog
  • Loading branch information
bgutsol committed Nov 8, 2023
1 parent 75ecd7b commit 48a30cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-cows-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@contentful/f36-button': patch
---

Fix IconButton size prop type.
2 changes: 1 addition & 1 deletion packages/components/button/src/IconButton/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface IconButtonInternalProps
children?: ButtonInternalProps['children'];
/**
* Determines size variation of IconButton component
* Note: 'large' is @deprecated
* Note: 'large' is deprecated
* */
size?: ButtonInternalProps['size'];
}
Expand Down

1 comment on commit 48a30cb

@vercel
Copy link

@vercel vercel bot commented on 48a30cb Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.