securityos/components/apps/ClassiCube/index.tsx

18 lines
600 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import AppContainer from "components/apps/AppContainer";
import StyledClassiCube from "components/apps/ClassiCube/StyledClassiCube";
import useClassiCube from "components/apps/ClassiCube/useClassiCube";
import type { ComponentProcessProps } from "components/system/Apps/RenderComponent";
import { haltEvent } from "utils/functions";
const ClassiCube: FC<ComponentProcessProps> = ({ id }) => (
<AppContainer
StyledComponent={StyledClassiCube}
id={id}
useHook={useClassiCube}
>
<canvas onContextMenu={haltEvent} />
</AppContainer>
);
export default ClassiCube;