Files
Mav-Mobile-UI/src/components/UI/Card.tsx

23 lines
433 B
TypeScript
Raw Normal View History

2025-08-13 14:23:48 +01:00
import React from "react";
import clsx from "clsx";
type CardProps = {
children: React.ReactNode;
className?: string;
};
const Card = ({ children, className }: CardProps) => {
return (
<div
className={clsx(
2025-10-15 15:15:04 +01:00
"bg-[#253445] rounded-lg mt-4 mx-2 shadow-2xl overflow-x-hidden md:row-span-1 px-2 border border-gray-600 ",
2025-08-13 14:23:48 +01:00
className
)}
>
{children}
</div>
);
};
export default Card;