UNPKG

@mendix/pluggable-widgets-tools

Version:
3 lines (2 loc) 1.35 kB
export declare const attributeMetaDataWebOutput = "/**\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 { CSSProperties } from \"react\";\nimport { AttributeMetaData, ListValue } from \"mendix\";\nimport { Big } from \"big.js\";\n\nexport interface MyWidgetContainerProps {\n name: string;\n class: string;\n style?: CSSProperties;\n tabIndex?: number;\n data: ListValue;\n metaString: AttributeMetaData<string>;\n metaNumberDate: AttributeMetaData<Big | Date>;\n}\n\nexport interface MyWidgetPreviewProps {\n /**\n * @deprecated Deprecated since version 9.18.0. Please use class property instead.\n */\n className: string;\n class: string;\n style: string;\n styleObject?: CSSProperties;\n readOnly: boolean;\n renderMode: \"design\" | \"xray\" | \"structure\";\n translate: (text: string) => string;\n data: {} | { caption: string } | { type: string } | null;\n metaString: string;\n metaNumberDate: string;\n}\n"; export declare const attributeMetaDataNativeOutput = "export interface MyWidgetProps<Style> {\n name: string;\n style: Style[];\n data: ListValue;\n metaString: AttributeMetaData<string>;\n metaNumberDate: AttributeMetaData<Big | Date>;\n}";