mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
14 lines
557 B
TypeScript
14 lines
557 B
TypeScript
import StyledDXBall from "components/apps/DX-Ball/StyledDXBall";
|
|
import useDXBall from "components/apps/DX-Ball/useDXBall";
|
|
import AppContainer from "components/system/Apps/AppContainer";
|
|
import { type ComponentProcessProps } from "components/system/Apps/RenderComponent";
|
|
import { haltEvent } from "utils/functions";
|
|
|
|
const DXBall: FC<ComponentProcessProps> = ({ id }) => (
|
|
<AppContainer StyledComponent={StyledDXBall} id={id} useHook={useDXBall}>
|
|
<canvas id="dx-ball" onContextMenuCapture={haltEvent} />
|
|
</AppContainer>
|
|
);
|
|
|
|
export default DXBall;
|