vim-webgl-component
Version:
A demonstration app built on top of the vim-webgl-viewer
19 lines (18 loc) • 648 B
TypeScript
/// <reference types="react" />
export declare function buttonDefaultStyle(on: boolean): string;
export declare function buttonBlueStyle(on: boolean): string;
export interface IControlBarButtonItem {
id: string;
enabled?: (() => boolean) | undefined;
tip: string;
action: () => void;
icon: ({ height, width, fill, className }: {
height: any;
width: any;
fill: any;
className: any;
}) => JSX.Element;
isOn?: () => boolean;
style: (on: boolean) => string;
}
export declare function createButton(button: IControlBarButtonItem): import("react/jsx-runtime").JSX.Element;