mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
18 lines
601 B
TypeScript
18 lines
601 B
TypeScript
import StyledBoxedWine from "components/apps/BoxedWine/StyledBoxedWine";
|
|
import useBoxedWine from "components/apps/BoxedWine/useBoxedWine";
|
|
import AppContainer from "components/system/Apps/AppContainer";
|
|
import { type ComponentProcessProps } from "components/system/Apps/RenderComponent";
|
|
import { haltEvent } from "utils/functions";
|
|
|
|
const BoxedWine: FC<ComponentProcessProps> = ({ id }) => (
|
|
<AppContainer
|
|
StyledComponent={StyledBoxedWine}
|
|
id={id}
|
|
useHook={useBoxedWine}
|
|
>
|
|
<canvas id="boxedWineCanvas" onContextMenu={haltEvent} />
|
|
</AppContainer>
|
|
);
|
|
|
|
export default BoxedWine;
|