chore: lint
This commit is contained in:
@@ -13,10 +13,10 @@ interface AddButtonProps {
|
|||||||
|
|
||||||
export const AddButton: FC<AddButtonProps> = (
|
export const AddButton: FC<AddButtonProps> = (
|
||||||
{ handleClick,
|
{ handleClick,
|
||||||
size ,
|
size,
|
||||||
title,
|
title,
|
||||||
disabled = false,
|
disabled = false,
|
||||||
hoverEffect= true,
|
hoverEffect = true,
|
||||||
style
|
style
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
@@ -25,12 +25,12 @@ export const AddButton: FC<AddButtonProps> = (
|
|||||||
size={size || "small"}
|
size={size || "small"}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
sx={ hoverEffect
|
sx={hoverEffect
|
||||||
? {...style, '&:hover': { background: 'rgba(0, 0, 0, 0.05)', color: 'rgba(0, 0, 0, 0.54)' }}
|
? { ...style, '&:hover': { background: 'rgba(0, 0, 0, 0.05)', color: 'rgba(0, 0, 0, 0.54)' } }
|
||||||
: {...style, '&:hover': { color: '#1976d2', backgroundColor: 'white' }}
|
: { ...style, '&:hover': { color: '#1976d2', backgroundColor: 'white' } }
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Add/> {title}
|
<Add /> {title}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user