|
|
@ -2,11 +2,13 @@ import { FC } from 'react'; |
|
|
|
import { |
|
|
|
import { |
|
|
|
IconButton as MUIIconButton, |
|
|
|
IconButton as MUIIconButton, |
|
|
|
IconButtonProps as MUIIconButtonProps, |
|
|
|
IconButtonProps as MUIIconButtonProps, |
|
|
|
|
|
|
|
inputClasses as muiInputClasses, |
|
|
|
} from '@mui/material'; |
|
|
|
} from '@mui/material'; |
|
|
|
|
|
|
|
|
|
|
|
import { |
|
|
|
import { |
|
|
|
BLACK, |
|
|
|
BLACK, |
|
|
|
BORDER_RADIUS, |
|
|
|
BORDER_RADIUS, |
|
|
|
|
|
|
|
DISABLED, |
|
|
|
GREY, |
|
|
|
GREY, |
|
|
|
TEXT, |
|
|
|
TEXT, |
|
|
|
} from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
} from '../../lib/consts/DEFAULT_THEME'; |
|
|
@ -30,6 +32,10 @@ const IconButton: FC<IconButtonProps> = ({ |
|
|
|
backgroundColor: TEXT, |
|
|
|
backgroundColor: TEXT, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[`&.${muiInputClasses.disabled}`]: { |
|
|
|
|
|
|
|
backgroundColor: DISABLED, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
...sx, |
|
|
|
...sx, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}} |
|
|
|
}} |
|
|
|