UNPKG

532 BJavaScriptView Raw
1import * as React from 'react';
2import SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';
3import { jsx as _jsx } from "react/jsx-runtime";
4export const defaultConfig = {
5 attribute: 'data-mui-color-scheme',
6 colorSchemeStorageKey: 'mui-color-scheme',
7 defaultLightColorScheme: 'light',
8 defaultDarkColorScheme: 'dark',
9 modeStorageKey: 'mui-mode'
10};
11export default (function InitColorSchemeScript(props) {
12 return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {
13 ...defaultConfig,
14 ...props
15 });
16});
\No newline at end of file