drfeely.com/website/components/Card.tsx

22 lines
358 B
TypeScript
Raw Normal View History

2023-08-30 22:56:17 +00:00
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 p-10 drop-shadow-2xl " +
className
}
2023-08-30 22:56:17 +00:00
>
{children}
</div>
);
};
export default Card;