Item
import type { Item } from "https://raw.githubusercontent.com/scrapbox-jp/types/main/pageMenu.ts";
type Item = {
title: string | (() => string);
image?: string;
onClick: (event: React.MouseEvent<HTMLAnchorElement>) => void;
};§Type
§
{
[src]title: string | (() => string);
image?: string;
onClick: (event: React.MouseEvent<HTMLAnchorElement>) => void;
}