import { noop } from "lodash"; import type { LinkProps } from "next/link"; import Link from "next/link"; import { useRouter } from "next/router"; import type { FC, MouseEventHandler } from "react"; import { Fragment } from "react"; import { PermissionContainer } from "@calcom/features/auth/PermissionContainer"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import classNames from "@lib/classNames"; import type { SVGComponent } from "@lib/types/SVGComponent"; export interface NavTabProps { tabs: { name: string; /** If you want to change the path as per current tab */ href?: string; /** If you want to change query param tabName as per current tab */ tabName?: string; icon?: SVGComponent; adminRequired?: boolean; className?: string; }[]; linkProps?: Omit; } const NavTabs: FC = ({ tabs, linkProps, ...props }) => { const router = useRouter(); const { t } = useLocale(); return ( <>
); }; export default NavTabs;