feat: add Card component
feat: create Textfield component style: more light and dark mode support
This commit is contained in:
1 parent
2ffbae76a6
commit
f26060cf6b
3 files changed
+46
-55
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export default function Card({title, children}: {title: string, children: ReactNode}) {
|
||||
return (
|
||||
<section className="p-5 flex flex-col justify-between">
|
||||
<h2 className="text-lg font-semibold mb-4 flex items-center gap-2">
|
||||
{title}
|
||||
</h2>
|
||||
<div>
|
||||
{children}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Whitespace-only changes.
Reference in new issue
Block a user