lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
15 lines (14 loc) • 529 B
TypeScript
import { Signal } from "@preact/signals";
import { ComponentChildren } from "preact";
import { PointType } from "../../utils/isPoint";
interface ContextMenuProps {
positionSignal?: Signal<PointType | undefined>;
children?: ComponentChildren;
input?: {
label?: string;
onInput?: (val: string) => void;
options?: Array<string>;
} | false;
}
declare const ContextMenu: ({ positionSignal, children, input }: ContextMenuProps) => import("preact").VNode<any> | null;
export default ContextMenu;