import { Icon, HStack, Text, type BoxProps } from "@chakra-ui/react"; import Link, { type LinkProps } from "next/link"; import { type IconType } from "react-icons"; import NavSidebarOption from "./NavSidebarOption"; type IconLinkProps = BoxProps & LinkProps & { label?: string; icon: IconType; href: string; beta?: boolean }; const IconLink = ({ icon, label, href, color, beta, ...props }: IconLinkProps) => { return ( {label} {beta && ( BETA )} ); }; export default IconLink;