// Disabling until we figure out what is happening with the RouterMock. import { ComponentMeta } from "@storybook/react"; import { Link } from "react-feather"; import { VerticalTabItem } from "@calcom/ui/v2"; export default { title: "VerticalTabItem", component: VerticalTabItem, } as ComponentMeta; const TabItemProps = { name: "Event Setup", icon: Link, href: "/settings/event", info: "60 mins, Zoom", }; export const Default = () => (
); export const Active = () => (
); // Mocking next router to show active state Active.parameters = { nextRouter: { path: "/settings/[tab]", asPath: "/settings/event", }, }; export const Disabled = () => (
); export const NoIconNoInfo = () => (
); export const IconNoInfo = () => (
); export const IconNoInfoActive = () => (
); IconNoInfoActive.paramaters = { nextRouter: { path: "/settings/[tab]", asPath: "/settings/events", }, };