UNPKG

oadp-material

Version:
69 lines (65 loc) 1.71 kB
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'; const OadpCardDividerMeta: IPublicTypeComponentMetadata = { "componentName": "OadpCardDivider", "title": "卡片分割线", "docUrl": "", "category": "高级组件", "group": "低代码组件", "screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_divider.png", "devMode": "proCode", "npm": { "package": "oadp-material", "version": "{{version}}", "exportName": "OadpCardDivider", "main": "src/index.tsx", "destructuring": true, "subName": "" }, "configure": { "props": [ { "name": "inset", "title": { "label": { "type": "i18n", "zh_CN": "向内缩进", "en_US": "inset", }, "tip": { "type": "i18n", "zh_CN": "属性: inset | 说明: 向内缩进", "en_US": "prop: inset | description: inset", }, }, "description": "向内缩进", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": false } }, ], "supports": { "style": true }, "component": {} } }; const snippets: IPublicTypeSnippet[] = [ { "title": "卡片分割线", "screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_divider.png", "schema": { "componentName": "OadpCardDivider", "props": { "title": "卡片标题", "subTitle": "", "extra": "", }, } } ]; export default { ...OadpCardDividerMeta, snippets };