better styles

This commit is contained in:
Abhinav 2022-07-03 15:07:16 +05:30
parent ebb9c70e2f
commit ca0498d33f

View file

@ -17,8 +17,7 @@ interface Iprops {
const DisabledPlanButton = styled((props: ButtonProps) => ( const DisabledPlanButton = styled((props: ButtonProps) => (
<Button disabled endIcon={<Done />} {...props} /> <Button disabled endIcon={<Done />} {...props} />
))(({ theme }) => ({ ))(({ theme }) => ({
'&&': { '&.Mui-disabled': {
cursor: 'default',
backgroundColor: 'transparent', backgroundColor: 'transparent',
color: theme.palette.text.primary, color: theme.palette.text.primary,
}, },