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

23 lines
412 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(
"bg-[#253445] rounded-lg mt-4 mx-4 px-4 py-4 shadow-2xl overflow-y-auto md:row-span-1",
2025-08-13 14:23:48 +01:00
className
)}
>
{children}
</div>
);
};
export default Card;