21 lines
358 B
TypeScript
21 lines
358 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 p-10 drop-shadow-2xl " +
|
|
className
|
|
}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Card;
|