From f0cfcbc5335b1f68711b58c51cd7f3667869b06c Mon Sep 17 00:00:00 2001 From: mitsuha Date: Tue, 2 Aug 2022 18:09:50 +0800 Subject: [PATCH] opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma; --- libs/components/ui/src/button/IconButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/components/ui/src/button/IconButton.tsx b/libs/components/ui/src/button/IconButton.tsx index 9e4dd087bb..77e1f08a6e 100644 --- a/libs/components/ui/src/button/IconButton.tsx +++ b/libs/components/ui/src/button/IconButton.tsx @@ -36,7 +36,7 @@ interface IconButtonProps { style?: CSSProperties; className?: string; size?: SizeType; - hoverColor?: CSSProperties['backgroundColor']; + hoverColor?: string; } export const IconButton: FC> = ({ @@ -60,7 +60,7 @@ export const IconButton: FC> = ({ const Container = styled('button')<{ size?: SizeType; - hoverColor?: CSSProperties['backgroundColor']; + hoverColor?: string; }>(({ theme, size = SIZE_MIDDLE, hoverColor }) => { const { iconSize, areaSize } = SIZE_CONFIG[size];