import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types' const Title2Meta: IPublicTypeComponentMetadata = { group: '低代码组件', componentName: 'Title2', title: '个性化标题2', docUrl: '', screenshot: '', devMode: 'proCode', category: '信息展示', npm: { package: '@dckj-npm/dc-material', version: '0.1.8', exportName: 'Title2', main: 'src/index.tsx', destructuring: true, subName: '', }, configure: { props: [ { title: { label: { type: 'i18n', 'en-US': 'title', 'zh-CN': '标题', }, tip: 'title | 标题', }, name: 'title', description: '标题', setter: { componentName: 'StringSetter', isRequired: false, initialValue: '标题名称', }, }, { title: { label: { type: 'i18n', 'en-US': 'color', 'zh-CN': '颜色', }, tip: 'color | 颜色', }, name: 'color', description: '颜色', setter: { componentName: 'ColorSetter', isRequired: false, initialValue: '#144477', }, }, { title: { label: { type: 'i18n', 'en-US': 'tipColor', 'zh-CN': 'tip颜色', }, tip: 'tipColor | tip颜色', }, name: 'tipColor', description: 'tip颜色', setter: { componentName: 'ColorSetter', isRequired: false, initialValue: '#388AF7', }, }, ], supports: { style: true, }, component: { disableBehaviors: ['copy'], }, }, } const snippets: IPublicTypeSnippet[] = [ { title: '个性化标题2', screenshot: '', schema: { componentName: 'Title2', props: {}, }, }, ] export default { ...Title2Meta, snippets, }