mosh-game-hub/src/components/GameCardContainer.tsx
2023-03-01 11:05:50 -08:00

17 lines
315 B
TypeScript

import { Box } from "@chakra-ui/react";
import { ReactNode } from "react";
interface Props {
children: ReactNode;
}
const GameCardContainer = ({ children }: Props) => {
return (
<Box width="300px" borderRadius={10} overflow="hidden">
{children}
</Box>
);
};
export default GameCardContainer;