Item
import type { Item } from "https://raw.githubusercontent.com/scrapbox-jp/types/0.3.3/userscript.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;
}