import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types' const TabMessageMeta: IPublicTypeComponentMetadata = { componentName: 'TabMessage', group: '低代码组件', title: '消息列表tab', docUrl: '', screenshot: '', devMode: 'proCode', category: '布局容器类', npm: { package: '@dckj-npm/dc-material', version: '0.1.13', exportName: 'TabMessage', main: 'src\\index.tsx', destructuring: true, subName: '', }, configure: { props: [ { title: { label: { type: 'i18n', 'en-US': 'selectedBGColor', 'zh-CN': '选中背景颜色', }, tip: '选中背景颜色', }, name: 'selectedBGColor', description: '选中背景颜色', setter: { componentName: 'ColorSetter', isRequired: true, initialValue: '', }, }, { title: { label: { type: 'i18n', 'en-US': 'selectedFontColor', 'zh-CN': '选中字体颜色', }, tip: 'selectedFontColor | 选中字体颜色', }, name: 'selectedFontColor', description: '选中字体颜色', setter: { componentName: 'ColorSetter', isRequired: true, initialValue: '', }, }, { title: { label: { type: 'i18n', 'en-US': 'size', 'zh-CN': '尺寸 small |', }, tip: '尺寸 small | large', }, name: 'size', description: '尺寸 small | default | large', setter: { componentName: 'SelectSetter', initialValue: 'small', props: { defaultValue: 'small', options: [ { title: '大', value: 'large', }, { title: '小', value: 'small', }, ], }, }, } ], supports: { style: true, }, component: { disableBehaviors: ['copy'], }, }, } const snippets: IPublicTypeSnippet[] = [ { title: '消息tab', screenshot: '', schema: { componentName: 'TabMessage', props: {}, }, }, ] export default { ...TabMessageMeta, snippets, }