first commit
This commit is contained in:
8
src/layout/card.tsx
Normal file
8
src/layout/card.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
export const Card = ({ title, body }: { title: string; body: string }) => (
|
||||
<div class="card bg-base-100 shadow-xl w-96">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">{title}</h2>
|
||||
<p>{body}</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
Reference in New Issue
Block a user