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;
|
style?: CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
size?: SizeType;
|
size?: SizeType;
|
||||||
hoverColor?: CSSProperties['backgroundColor'];
|
hoverColor?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const IconButton: FC<PropsWithChildren<IconButtonProps>> = ({
|
export const IconButton: FC<PropsWithChildren<IconButtonProps>> = ({
|
||||||
@@ -60,7 +60,7 @@ export const IconButton: FC<PropsWithChildren<IconButtonProps>> = ({
|
|||||||
|
|
||||||
const Container = styled('button')<{
|
const Container = styled('button')<{
|
||||||
size?: SizeType;
|
size?: SizeType;
|
||||||
hoverColor?: CSSProperties['backgroundColor'];
|
hoverColor?: string;
|
||||||
}>(({ theme, size = SIZE_MIDDLE, hoverColor }) => {
|
}>(({ theme, size = SIZE_MIDDLE, hoverColor }) => {
|
||||||
const { iconSize, areaSize } = SIZE_CONFIG[size];
|
const { iconSize, areaSize } = SIZE_CONFIG[size];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user