@kitschpatrol/tweakpane-plugin-essentials
Version:
A fork of @tweakpane/plugin-essentials with build optimizations.
19 lines (18 loc) • 590 B
TypeScript
import { ButtonController, Controller, PlainView, ViewProps } from '@tweakpane/core';
interface CellConfig {
title: string;
}
interface Config {
size: [number, number];
cellConfig: (x: number, y: number) => CellConfig;
}
export type ButtonGridControllerConfig = Config;
export declare class ButtonGridController implements Controller<PlainView> {
readonly size: [number, number];
readonly view: PlainView;
readonly viewProps: ViewProps;
private cellCs_;
constructor(doc: Document, config: Config);
get cellControllers(): ButtonController[];
}
export {};