Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
fix: icon size in button (#132)
Browse files Browse the repository at this point in the history
* fix: 정책 변경에 따른 아이콘사이즈 최신화

* update version
  • Loading branch information
Gyeop authored Feb 15, 2023
1 parent 5ffeec1 commit d478e68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/three-chefs-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@greenlabs/formula-components": patch
"@greenlabs/rescript-formula-components": patch
---

fix: button icon size
6 changes: 2 additions & 4 deletions packages/components/src/Button/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ export const getIconSize = (size: buttonSize) => {
case "xs":
return 16
case "sm":
return 20
case "md":
return 24
return 20
case "lg":
return 28
case "xl":
return 32
return 24
}
}

Expand Down

0 comments on commit d478e68

Please sign in to comment.