// icons import { ArticleOutlined, ContrastOutlined, DatasetOutlined, FilterNoneOutlined, PhotoFilterOutlined, } from "@mui/icons-material"; // types import { TTourSteps } from "./root"; const sidebarOptions: { key: TTourSteps; Icon: any; }[] = [ { key: "issues", Icon: FilterNoneOutlined, }, { key: "cycles", Icon: ContrastOutlined, }, { key: "modules", Icon: DatasetOutlined, }, { key: "views", Icon: PhotoFilterOutlined, }, { key: "pages", Icon: ArticleOutlined, }, ]; 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)} >
))}
);