worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
8
node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js
generated
vendored
Normal file
8
node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
'use client';
|
||||
|
||||
import * as React from 'react';
|
||||
const ThemeContext = /*#__PURE__*/React.createContext(null);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
ThemeContext.displayName = 'ThemeContext';
|
||||
}
|
||||
export default ThemeContext;
|
||||
2
node_modules/@mui/private-theming/esm/useTheme/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/useTheme/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./useTheme.js";
|
||||
export * from "./useTheme.js";
|
||||
1
node_modules/@mui/private-theming/esm/useTheme/index.js
generated
vendored
Normal file
1
node_modules/@mui/private-theming/esm/useTheme/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default } from "./useTheme.js";
|
||||
2
node_modules/@mui/private-theming/esm/useTheme/useTheme.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/useTheme/useTheme.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import { DefaultTheme } from "../defaultTheme/index.js";
|
||||
export default function useTheme<T = DefaultTheme>(): T;
|
||||
11
node_modules/@mui/private-theming/esm/useTheme/useTheme.js
generated
vendored
Normal file
11
node_modules/@mui/private-theming/esm/useTheme/useTheme.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import * as React from 'react';
|
||||
import ThemeContext from "./ThemeContext.js";
|
||||
export default function useTheme() {
|
||||
const theme = React.useContext(ThemeContext);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
|
||||
React.useDebugValue(theme);
|
||||
}
|
||||
return theme;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue