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,24 @@
'use client';
import * as React from 'react';
import PropTypes from 'prop-types';
import { Global } from '@emotion/react';
import { jsx as _jsx } from "react/jsx-runtime";
function isEmpty(obj) {
return obj === undefined || obj === null || Object.keys(obj).length === 0;
}
export default function GlobalStyles(props) {
var styles = props.styles,
_props$defaultTheme = props.defaultTheme,
defaultTheme = _props$defaultTheme === void 0 ? {} : _props$defaultTheme;
var globalStyles = typeof styles === 'function' ? function (themeInput) {
return styles(isEmpty(themeInput) ? defaultTheme : themeInput);
} : styles;
return /*#__PURE__*/_jsx(Global, {
styles: globalStyles
});
}
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes = {
defaultTheme: PropTypes.object,
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
} : void 0;

View File

@@ -0,0 +1,3 @@
'use client';
export { default } from './GlobalStyles';