UNPKG

create-mendix-widget

Version:

Create a working Mendix widget with one command.

23 lines (19 loc) 486 B
interface BaseProps { mxObject: mendix.lib.MxObject; // Start listing the attributes defined in `widget.config.xml` dummyKey: string; // End listing the attributes defined in `widget.config.xml` } export interface RootProps extends BaseProps { style: string; class: string; } export interface ComponentProps extends BaseProps { style?: React.CSSProperties; className?: string; } export interface PreviewProps { style: string; class: string; dummyKey: string; }