cal.pub0.org/apps/web/components/BookingsShell.tsx

32 lines
507 B
TypeScript
Raw Normal View History

import React from "react";
import NavTabs from "./NavTabs";
const tabs = [
{
name: "upcoming",
href: "/bookings/upcoming",
},
{
name: "recurring",
href: "/bookings/recurring",
},
{
name: "past",
href: "/bookings/past",
},
{
name: "cancelled",
href: "/bookings/cancelled",
},
];
export default function BookingsShell({ children }: { children: React.ReactNode }) {
return (
<>
2022-07-17 10:12:13 +00:00
<NavTabs tabs={tabs} />
<main>{children}</main>
</>
);
}