ref(dep) Upgrade MUI (#12089)

This commit is contained in:
Robert Pintilii
2022-09-13 10:36:00 +03:00
committed by GitHub
parent 3ef3233242
commit 139884fbe7
93 changed files with 2301 additions and 1296 deletions

View File

@@ -1,4 +1,5 @@
import { withStyles } from '@material-ui/styles';
import { Theme } from '@mui/material';
import { withStyles } from '@mui/styles';
import React from 'react';
import Icon from '../../base/icons/components/Icon';
@@ -43,7 +44,7 @@ type Props = {
*
* @returns {Object}
*/
const styles = (theme: any) => {
const styles = (theme: Theme) => {
return {
prejoinPreviewDropdownBtn: {
alignItems: 'center',
@@ -53,10 +54,10 @@ const styles = (theme: any) => {
height: 40,
fontSize: 15,
lineHeight: '24px',
padding: '0 16px',
padding: '0 16px', // @ts-ignore
backgroundColor: theme.palette.field02,
'&:hover': {
'&:hover': { // @ts-ignore
backgroundColor: theme.palette.field02Hover
}
},