import Link from 'next/link'; import React, { Component } from 'react'; import { Icon } from 'react-bootstrap-icons' export interface SidebarItemProps { name: string, selectedItemName: string, icon: Icon, iconColor: string, link: string, } class SidebarItem extends Component { constructor(props: SidebarItemProps) { super(props); } render() { const myProps = this.props as SidebarItemProps; return (
  • {myProps.name}
  • ) } } export default SidebarItem;