From cf0478a6278184cd8885ebd336f1c2b8d93b7484 Mon Sep 17 00:00:00 2001 From: Tamas Kovacs Date: Fri, 20 Sep 2024 16:51:52 +0200 Subject: [PATCH] docs(ui-buttons): recommendation added about the size property of icon inside of IconButton to doc Closes: INSTUI-4228 --- packages/ui-buttons/src/IconButton/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui-buttons/src/IconButton/README.md b/packages/ui-buttons/src/IconButton/README.md index 4f2718784d..0f4eb7b7c8 100644 --- a/packages/ui-buttons/src/IconButton/README.md +++ b/packages/ui-buttons/src/IconButton/README.md @@ -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 ---