import { HorizontalTabs } from "@calcom/ui"; import { getSerializableForm } from "../lib/getSerializableForm"; export default function RoutingNavBar({ form, appUrl, }: { form: ReturnType; appUrl: string; }) { const tabs = [ { name: "Form", href: `${appUrl}/form-edit/${form?.id}`, }, { name: "Routing", href: `${appUrl}/route-builder/${form?.id}`, className: "pointer-events-none opacity-30 lg:pointer-events-auto lg:opacity-100", }, { name: "Reporting", href: `${appUrl}/reporting/${form?.id}`, className: "pointer-events-none opacity-30 lg:pointer-events-auto lg:opacity-100", }, ]; return (
); }