"use client"; 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 export function ToolLink({ Icon, shortTitle: title, href, onClick, highlight, grouped }: Props) { return ( // @ts-expect-error react 19 beta error {title} ); }