This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { type FC, type MouseEvent, useState } from 'react'; | |
import { AppBar, Box, Toolbar, Typography, Container, Menu, MenuItem, Button } from '@mui/material'; | |
interface AppInfo { | |
label: string; | |
scope: string; | |
module: string; | |
} | |
interface Props { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import GenericDynamicGridExample from './components/dynamic-grid/generic-dynamic-grid-example/GenericDynamicGridExample.tsx'; | |
import { type ComponentType, lazy, Suspense, useState } from 'react'; | |
import ResponsiveAppBar from './components/AppBar/ResponsiveAppBar.tsx'; | |
import { Box, Paper } from '@mui/material'; | |
const ClientApp = () => { | |
const [RemoteComponent, setRemoteComponent] = | |
useState<React.LazyExoticComponent<ComponentType> | null>(null); | |
const handleAppSelect = (scope: string, module: string) => { |