"use client"; // icons import { FileText } from "lucide-react"; import { ContrastIcon, DiceIcon, LayersIcon, PhotoFilterIcon } from "@plane/ui"; // types import { TTourSteps } from "./root"; const sidebarOptions: { key: TTourSteps; Icon: any; }[] = [ { key: "issues", Icon: LayersIcon, }, { key: "cycles", Icon: ContrastIcon, }, { key: "modules", Icon: DiceIcon, }, { key: "views", Icon: PhotoFilterIcon, }, { key: "pages", Icon: FileText, }, ]; 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)} role="button" >
))}
);