oadp-material
Version:
oadp-material
63 lines (59 loc) • 1.63 kB
text/typescript
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
const OadpCardBulletHeaderMeta: IPublicTypeComponentMetadata = {
"componentName": "OadpCardBulletHeader",
"title": "卡片内容标题",
"docUrl": "",
"category": "高级组件",
"group": "低代码组件",
"screenshot": "https://img.alicdn.com/imgextra/i4/O1CN01E2PcPW1bKJV5QUVMg_!!6000000003446-55-tps-50-50.svg",
"devMode": "proCode",
"npm": {
"package": "oadp-material",
"version": "{{version}}",
"exportName": "OadpCardBulletHeader",
"main": "src/index.tsx",
"destructuring": true,
"subName": ""
},
"configure": {
"props": [
{
"name": "title",
"title": {
"label": {
"type": "i18n",
"zh_CN": "卡片内容标题",
"en_US": "title",
},
"tip": {
"type": "i18n",
"zh_CN": "属性: title | 说明: 卡片内容标题",
"en_US": "prop: title | description: title content",
},
},
"setter": "StringSetter",
"description": "卡片内容标题",
},
],
"supports": {
"style": true
},
"component": {}
}
};
const snippets: IPublicTypeSnippet[] = [
{
"title": "卡片内容标题",
"screenshot": "https://img.alicdn.com/imgextra/i4/O1CN01E2PcPW1bKJV5QUVMg_!!6000000003446-55-tps-50-50.svg",
"schema": {
"componentName": "OadpCardBulletHeader",
"props": {
"title": "卡片内容标题",
},
}
}
];
export default {
...OadpCardBulletHeaderMeta,
snippets
};