drfeely.com/components/ImageCard.tsx
2023-10-20 14:25:25 -05:00

20 lines
345 B
TypeScript

import { ReactNode } from "react";
interface Props {
className?: string;
children?: ReactNode;
}
const Card = ({ className, children }: Props) => {
return (
<div
className={
"overflow-hidden rounded-lg bg-primary-100 drop-shadow-2xl " + className
}
>
{children}
</div>
);
};
export default Card;