mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-27 06:33:32 +03:00
opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma;
This commit is contained in:
parent
2a110f7cde
commit
f0cfcbc533
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user