import React from "react"; import { observer } from "mobx-react-lite"; import { Tab } from "@headlessui/react"; // components import { CustomAnalytics, ScopeAndDemand } from "components/analytics"; // types import { ICycle, IModule, IProject } from "@plane/types"; // constants import { ANALYTICS_TABS } from "constants/analytics"; type Props = { fullScreen: boolean; cycleDetails: ICycle | undefined; moduleDetails: IModule | undefined; projectDetails: IProject | undefined; }; export const ProjectAnalyticsModalMainContent: React.FC = observer((props) => { const { fullScreen, cycleDetails, moduleDetails } = props; return ( {ANALYTICS_TABS.map((tab) => ( `rounded-0 w-full md:w-max md:rounded-3xl border-b md:border border-neutral-border-medium focus:outline-none px-0 md:px-4 py-2 text-xs hover:bg-neutral-component-surface-dark ${ selected ? "border-primary-border-subtle text-primary-text-subtle md:bg-neutral-component-surface-dark md:text-neutral-text-medium md:border-neutral-border-medium" : "border-transparent" }` } onClick={() => {}} > {tab.title} ))} ); });