mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
20 lines
636 B
TypeScript
20 lines
636 B
TypeScript
import { memo } from "react";
|
|
import StatusBar from "components/apps/MonacoEditor/StatusBar";
|
|
import StyledMonacoEditor from "components/apps/MonacoEditor/StyledMonacoEditor";
|
|
import useMonaco from "components/apps/MonacoEditor/useMonaco";
|
|
import AppContainer from "components/system/Apps/AppContainer";
|
|
import { type ComponentProcessProps } from "components/system/Apps/RenderComponent";
|
|
|
|
const MonacoEditor: FC<ComponentProcessProps> = ({ id }) => (
|
|
<>
|
|
<AppContainer
|
|
StyledComponent={StyledMonacoEditor}
|
|
id={id}
|
|
useHook={useMonaco}
|
|
/>
|
|
<StatusBar id={id} />
|
|
</>
|
|
);
|
|
|
|
export default memo(MonacoEditor);
|