mirror of
https://github.com/mblanke/holiday-travel-app.git
synced 2026-03-01 13:30:20 -05:00
Initial commit: Holiday Travel App with resort comparison, trip management, and multi-provider search
This commit is contained in:
8
components/Section.tsx
Normal file
8
components/Section.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
export default function Section({ title, children }: { title: string, children: React.ReactNode }) {
|
||||
return (
|
||||
<section className="space-y-3">
|
||||
<h2 className="text-lg font-semibold">{title}</h2>
|
||||
<div className="card p-4">{children}</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user