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