diff --git a/src/components/atoms/buttons/AddButton.tsx b/src/components/atoms/buttons/AddButton.tsx index cc4f77f8..716e346f 100644 --- a/src/components/atoms/buttons/AddButton.tsx +++ b/src/components/atoms/buttons/AddButton.tsx @@ -13,10 +13,10 @@ interface AddButtonProps { export const AddButton: FC = ( { handleClick, - size , + size, title, disabled = false, - hoverEffect= true, + hoverEffect = true, style }) => { return ( @@ -25,12 +25,12 @@ export const AddButton: FC = ( size={size || "small"} onClick={handleClick} disabled={disabled} - sx={ hoverEffect - ? {...style, '&:hover': { background: 'rgba(0, 0, 0, 0.05)', color: 'rgba(0, 0, 0, 0.54)' }} - : {...style, '&:hover': { color: '#1976d2', backgroundColor: 'white' }} - } + sx={hoverEffect + ? { ...style, '&:hover': { background: 'rgba(0, 0, 0, 0.05)', color: 'rgba(0, 0, 0, 0.54)' } } + : { ...style, '&:hover': { color: '#1976d2', backgroundColor: 'white' } } + } > - {title} + {title} ); };