mirror of
https://github.com/mosh-hamedani/game-hub.git
synced 2026-05-21 12:14:32 +02:00
17 lines
315 B
TypeScript
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;
|