import React from "react"; import { observer } from "mobx-react-lite"; import { Tab } from "@headlessui/react"; import { ICycle, IModule, IProject } from "@plane/types"; // components import { CustomAnalytics, ScopeAndDemand } from "@/components/analytics"; // types import { ANALYTICS_TABS } from "@/constants/analytics"; // constants 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-custom-border-200 focus:outline-none px-0 md:px-4 py-2 text-xs hover:bg-custom-background-80 ${ selected ? "border-custom-primary-100 text-custom-primary-100 md:bg-custom-background-80 md:text-custom-text-200 md:border-custom-border-200" : "border-transparent" }` } onClick={() => {}} > {tab.title} ))} ); });