Skip to content

Commit

Permalink
docs(ui-buttons): recommendation added about the size property of ico…
Browse files Browse the repository at this point in the history
…n inside of IconButton to doc

Closes: INSTUI-4228
  • Loading branch information
ToMESSKa committed Sep 20, 2024
1 parent b7cad0f commit 57e164f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui-buttons/src/IconButton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ describes: IconButton
---

An IconButton can be used when the Button only renders an Icon and does not have other visual elements or text content.
It is not recommended to set the size of an icon inside an IconButton. Only use the `size` property of the IconButton.

```js
---
Expand Down

0 comments on commit 57e164f

Please sign in to comment.