// icons import { ContrastIcon, LayerDiagonalIcon, PeopleGroupIcon, ViewListIcon } from "components/icons"; import { DocumentTextIcon } from "@heroicons/react/24/outline"; // types import { TTourSteps } from "./root"; const sidebarOptions: { key: TTourSteps; icon: any; }[] = [ { key: "issues", icon: LayerDiagonalIcon, }, { key: "cycles", icon: ContrastIcon, }, { key: "modules", icon: PeopleGroupIcon, }, { key: "views", icon: ViewListIcon, }, { key: "pages", icon: DocumentTextIcon, }, ]; type Props = { step: TTourSteps; setStep: React.Dispatch>; }; export const TourSidebar: React.FC = ({ step, setStep }) => (

Let{"'"}s get started!
Get more out of Plane.

{sidebarOptions.map((option) => (
setStep(option.key)} >
))}
);