"use client"; import { memo } from "react"; import Link, { LinkProps } from "next/link"; import { Tool } from "@/config/tools"; import { cn } from "@/lib/style"; import { Indicator } from "@/components/indicator"; type Props = Pick & Pick, "href" | "onClick"> & { highlight: "both" | "indicatorOnly" | "none"; grouped?: true; }; // FIXME: css outline messed up function RawToolLink({ Icon, shortTitle: title, href, onClick, highlight, grouped }: Props) { return ( {title} ); } export const ToolLink = memo(RawToolLink);