UNPKG

@thi.ng/imgui

Version:

Immediate mode GUI with flexible state handling & data only shape output

12 lines 418 B
import type { Maybe } from "@thi.ng/api"; import { type ComponentOpts } from "../api.js"; export interface DropDownOpts extends Omit<ComponentOpts, "label"> { /** * Index of selected item. */ value: number; items: string[]; label: string; } export declare const dropdown: ({ gui, layout, id, value, items, label, info, }: DropDownOpts) => Maybe<number>; //# sourceMappingURL=dropdown.d.ts.map