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

20 lines
347 B
TypeScript
Raw Normal View History

2024-09-11 15:38:04 +01:00
import clsx, { ClassValue } from "clsx";
type Props = {
children: React.ReactNode;
className?: ClassValue;
};
export default function Card({ children, className }: Props) {
2024-09-13 13:45:04 +01:00
return (
<div
className={clsx(
"flex flex-col bg-secondary/90 p-3 rounded-md",
className,
)}
>
{children}
</div>
);
2024-09-11 15:38:04 +01:00
}