Initial commit: Crypto trader application

This commit is contained in:
2025-12-25 20:20:40 -05:00
commit 07a04c1bb8
47895 changed files with 2042266 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import * as React from 'react';
const ThemeContext = /*#__PURE__*/React.createContext(null);
if (process.env.NODE_ENV !== 'production') {
ThemeContext.displayName = 'ThemeContext';
}
export default ThemeContext;

View File

@@ -0,0 +1,2 @@
export { default } from './useTheme';
export * from './useTheme';

View File

@@ -0,0 +1 @@
export { default } from './useTheme';

View File

@@ -0,0 +1,6 @@
{
"sideEffects": false,
"module": "./index.js",
"main": "../node/useTheme/index.js",
"types": "./index.d.ts"
}

View File

@@ -0,0 +1,3 @@
import { DefaultTheme } from '../defaultTheme';
export default function useTheme<T = DefaultTheme>(): T;

View File

@@ -0,0 +1,10 @@
import * as React from 'react';
import ThemeContext from './ThemeContext';
export default function useTheme() {
const theme = React.useContext(ThemeContext);
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react-hooks/rules-of-hooks
React.useDebugValue(theme);
}
return theme;
}