1 | 'use client';
|
2 |
|
3 | import * as React from 'react';
|
4 | import { ThemeProvider as SystemThemeProvider } from '@mui/system';
|
5 | import THEME_ID from "./identifier.js";
|
6 | import { jsx as _jsx } from "react/jsx-runtime";
|
7 | export default function ThemeProviderNoVars({
|
8 | theme: themeInput,
|
9 | ...props
|
10 | }) {
|
11 | const scopedTheme = THEME_ID in themeInput ? themeInput[THEME_ID] : undefined;
|
12 | return _jsx(SystemThemeProvider, {
|
13 | ...props,
|
14 | themeId: scopedTheme ? THEME_ID : undefined,
|
15 | theme: scopedTheme || themeInput
|
16 | });
|
17 | } |
\ | No newline at end of file |