import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'; const TextCardMeta: IPublicTypeComponentMetadata = { "componentName": "TextCard", "title": "TextCard", "docUrl": "", "screenshot": "", "devMode": "proCode", "npm": { "package": "iftide-mobile-visual", "version": "0.0.2", "exportName": "TextCard", "main": "src/index.tsx", "destructuring": true, "subName": "" }, "configure": { "props": [ { "title": { "label": { "type": "i18n", "en-US": "showIcon", "zh-CN": "showIcon" } }, "name": "showIcon", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": true } }, { "title": { "label": { "type": "i18n", "en-US": "icon", "zh-CN": "icon" } }, "name": "icon", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "text", "zh-CN": "text" } }, "name": "text", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本" } } ], "supports": { "style": true, "events": [ { "name": "onIconClick" } ] }, "component": {} } }; const snippets: IPublicTypeSnippet[] = [ { "title": "TextCard", "screenshot": "", "schema": { "componentName": "TextCard", "props": {} } } ]; export default { ...TextCardMeta, snippets };