This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
scoresaber-reloadedv3/src/components/card.tsx
Liam 281ee4a779
Some checks failed
Deploy SSR / deploy (push) Failing after 1m21s
cleanup
2024-09-13 13:45:04 +01:00

20 lines
347 B
TypeScript

import clsx, { ClassValue } from "clsx";
type Props = {
children: React.ReactNode;
className?: ClassValue;
};
export default function Card({ children, className }: Props) {
return (
<div
className={clsx(
"flex flex-col bg-secondary/90 p-3 rounded-md",
className,
)}
>
{children}
</div>
);
}