securityos/components/apps/BoxedWine/index.tsx

18 lines
611 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import AppContainer from "components/apps/AppContainer";
import StyledBoxedWine from "components/apps/BoxedWine/StyledBoxedWine";
import useBoxedWine from "components/apps/BoxedWine/useBoxedWine";
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;