chore: lint
This commit is contained in:
@@ -10,22 +10,22 @@ interface BreakpointButtonProps {
|
||||
|
||||
export const BreakpointButton =
|
||||
({ handleClick, size, changeColor }: BreakpointButtonProps) => {
|
||||
return (
|
||||
<IconButton aria-label="add" size={size || "small"} onClick={handleClick}
|
||||
sx={{
|
||||
"&:hover": {
|
||||
background: 'transparent',
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Circle sx={{
|
||||
fontSize: '1rem',
|
||||
marginLeft: '5px',
|
||||
color: changeColor ? 'red': 'gray',
|
||||
"&:hover": {
|
||||
color: changeColor ? 'darkRed' : 'dimgray',
|
||||
}
|
||||
}}/>
|
||||
</IconButton>
|
||||
);
|
||||
};
|
||||
return (
|
||||
<IconButton aria-label="add" size={size || "small"} onClick={handleClick}
|
||||
sx={{
|
||||
"&:hover": {
|
||||
background: 'transparent',
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Circle sx={{
|
||||
fontSize: '1rem',
|
||||
marginLeft: '5px',
|
||||
color: changeColor ? 'red' : 'gray',
|
||||
"&:hover": {
|
||||
color: changeColor ? 'darkRed' : 'dimgray',
|
||||
}
|
||||
}} />
|
||||
</IconButton>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user