calcom/components/BookingsShell.tsx
Omar López a04336ba06
Added booking tabs, type fixing and refactoring (#825)
* More type fixes

* More type fixes

* Type fixes

* Adds inputMode to email fields

* Added booking tabs

* Adds aditional notes to bookings
2021-09-29 22:33:18 +01:00

28 lines
533 B
TypeScript

import NavTabs from "./NavTabs";
export default function BookingsShell(props) {
const tabs = [
{
name: "Upcoming",
href: "/bookings/upcoming",
},
{
name: "Past",
href: "/bookings/past",
},
{
name: "Cancelled",
href: "/bookings/cancelled",
},
];
return (
<div>
<div className="sm:mx-auto">
<NavTabs tabs={tabs} linkProps={{ shallow: true }} />
<hr />
</div>
<main className="max-w-4xl">{props.children}</main>
</div>
);
}