drfeely.com/website/components/ImageCard.tsx

21 lines
345 B
TypeScript
Raw Normal View History

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;