mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma;
This commit is contained in:
@@ -36,7 +36,7 @@ interface IconButtonProps {
|
||||
style?: CSSProperties;
|
||||
className?: string;
|
||||
size?: SizeType;
|
||||
hoverColor?: CSSProperties['backgroundColor'];
|
||||
hoverColor?: string;
|
||||
}
|
||||
|
||||
export const IconButton: FC<PropsWithChildren<IconButtonProps>> = ({
|
||||
@@ -60,7 +60,7 @@ export const IconButton: FC<PropsWithChildren<IconButtonProps>> = ({
|
||||
|
||||
const Container = styled('button')<{
|
||||
size?: SizeType;
|
||||
hoverColor?: CSSProperties['backgroundColor'];
|
||||
hoverColor?: string;
|
||||
}>(({ theme, size = SIZE_MIDDLE, hoverColor }) => {
|
||||
const { iconSize, areaSize } = SIZE_CONFIG[size];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user