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
+1
View File
@@ -0,0 +1 @@
export { default } from './isMuiElement';
+8
View File
@@ -0,0 +1,8 @@
import * as React from 'react';
export default function isMuiElement(element, muiNames) {
return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(
// For server components `muiName` is avaialble in element.type._payload.value.muiName
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
// eslint-disable-next-line no-underscore-dangle
element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;
}