import { Link } from "gatsby" import React, { FC, HTMLAttributes, PropsWithChildren } from "react" import Scrollbar from "react-perfect-scrollbar" import "react-perfect-scrollbar/dist/css/styles.css" import Banner from "../../images/tph-banner.svg" import { ThemeToggler } from "../ThemeToggler" import * as SC from "./styles" interface IMenuItemProps { to: string } const MenuItem: FC = ({ children, to }) => { return ( {children} ) } export const Sidebar: FC >> = props => { const { children, ...restProps } = props const isBorderVisible = children === undefined ? false : true return ( {children} about rules resources tech spotlights ) }