UNPKG

@mendix/pluggable-widgets-tools

Version:
3 lines (2 loc) 1.44 kB
export declare const imageWebOutput = "/**\n * This file was generated from MyWidget.xml\n * WARNING: All changes made to this file will be overwritten\n * @author Mendix Widgets Framework Team\n */\nimport { ActionValue, DynamicValue, EditableImageValue, EditableValue, WebImage } from \"mendix\";\n\nexport interface MyWidgetContainerProps {\n name: string;\n tabIndex?: number;\n id: string;\n image: DynamicValue<WebImage>;\n image2?: DynamicValue<WebImage>;\n image3: EditableImageValue<WebImage>;\n description: EditableValue<string>;\n action?: ActionValue;\n}\n\nexport interface MyWidgetPreviewProps {\n readOnly: boolean;\n renderMode: \"design\" | \"xray\" | \"structure\";\n translate: (text: string) => string;\n image: { type: \"static\"; imageUrl: string; } | { type: \"dynamic\"; entity: string; } | null;\n image2: { type: \"static\"; imageUrl: string; } | { type: \"dynamic\"; entity: string; } | null;\n image3: { type: \"static\"; imageUrl: string; } | { type: \"dynamic\"; entity: string; } | null;\n description: string;\n action: {} | null;\n}\n"; export declare const imageNativeOutput = "export interface MyWidgetProps<Style> {\n name: string;\n style: Style[];\n image: DynamicValue<NativeImage>;\n image2?: DynamicValue<NativeImage>;\n image3: EditableImageValue<NativeImage>;\n description: EditableValue<string>;\n action?: ActionValue;\n}";