/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ // plane imports import { CycleIcon, ModuleIcon, PageIcon, ViewsIcon, WorkItemsIcon } from "@plane/propel/icons"; import type { ISvgIcons } from "@plane/propel/icons"; // types import type { TTourSteps } from "./root"; const sidebarOptions: { key: TTourSteps; label: string; Icon: React.FC; }[] = [ { key: "work-items", label: "Work items", Icon: WorkItemsIcon, }, { key: "cycles", label: "Cycles", Icon: CycleIcon, }, { key: "modules", label: "Modules", Icon: ModuleIcon, }, { key: "views", label: "Views", Icon: ViewsIcon, }, { key: "pages", label: "Pages", Icon: PageIcon, }, ]; type Props = { step: TTourSteps; setStep: React.Dispatch>; }; export function TourSidebar({ step, setStep }: Props) { return (

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

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