UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

17 lines (16 loc) 525 B
'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 }); }