21 lines
345 B
TypeScript
21 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;
|