Initial commit
This commit is contained in:
9
src_frontend_orig/components/Card.jsx
Normal file
9
src_frontend_orig/components/Card.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
export function Card({ title, subtitle, children }) {
|
||||
return (
|
||||
<div className="card space-y-2">
|
||||
{title && <h2 className="text-lg font-semibold">{title}</h2>}
|
||||
{subtitle && <p className="subtle">{subtitle}</p>}
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user