2024-04-16 21:50:42 +00:00
|
|
|
import { cn } from "@/common/utils";
|
|
|
|
|
2024-04-15 08:09:45 +00:00
|
|
|
export function Card({
|
|
|
|
children,
|
2024-04-16 21:50:42 +00:00
|
|
|
className,
|
2024-04-15 08:09:45 +00:00
|
|
|
}: Readonly<{
|
|
|
|
children: React.ReactNode;
|
2024-04-16 21:50:42 +00:00
|
|
|
className?: string;
|
2024-04-16 20:18:08 +00:00
|
|
|
}>): JSX.Element {
|
2024-04-16 21:50:42 +00:00
|
|
|
return <div className={cn("bg-secondary rounded-lg p-3", className)}>{children}</div>;
|
2024-04-15 08:09:45 +00:00
|
|
|
}
|