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