Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js 525 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  'use client';
  
  import * as React from 'react';
  import { ThemeProvider as SystemThemeProvider } from '@mui/system';
  import THEME_ID from "./identifier.js";
  import { jsx as _jsx } from "react/jsx-runtime";
  export default function ThemeProviderNoVars({
    theme: themeInput,
    ...props
  }) {
    const scopedTheme = THEME_ID in themeInput ? themeInput[THEME_ID] : undefined;
    return /*#__PURE__*/_jsx(SystemThemeProvider, {
      ...props,
      themeId: scopedTheme ? THEME_ID : undefined,
      theme: scopedTheme || themeInput
    });
  }