Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/styles/experimental_extendTheme.js 379 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
  import extendTheme from "./createThemeWithVars.js";
  let warnedOnce = false;
  export default function deprecatedExtendTheme(...args) {
    if (!warnedOnce) {
      console.warn(['MUI: The `experimental_extendTheme` has been stabilized.', '', "You should use `import { extendTheme } from '@mui/material/styles'`"].join('\n'));
      warnedOnce = true;
    }
    return extendTheme(...args);
  }