当我从makeStyles导入@mui/materials/styles时,我会得到以下错误-
Uncaught Error: MUI: makeStyles is not longer exportedfrom @mui/material/styles.You have to import it from @mui/styles.See https://mui.com/r/migration-v4/#ma
我的样式组件是从style.ts文件导出的,并在React组件的index.tsx文件中使用:import { styled, Theme } from '@mui/material</Card>Plugin typescript: @rollup/plugin-typescript TS2742: The inferred type of 'Card' cannotbe name