import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'; const InputBetweenMeta: IPublicTypeComponentMetadata = { componentName: 'InputBetween', title: 'InputBetween', docUrl: '', group: '原子组件', category: '输入类', screenshot: '', devMode: 'proCode', npm: { package: 'yl-ssa-lowcode-antd-comps', version: '0.1.82', exportName: 'InputBetween', main: 'src\\index.tsx', destructuring: true, subName: '', }, configure: { props: [ { title: { label: { type: 'i18n', 'en-US': '默认文字1', 'zh-CN': '默认文字1', }, }, name: 'placeholder1', setter: { componentName: 'StringSetter', isRequired: true, }, }, { title: { label: { type: 'i18n', 'en-US': '默认文字2', 'zh-CN': '默认文字2', }, }, name: 'placeholder2', setter: { componentName: 'StringSetter', isRequired: true, }, }, { title: { label: { type: 'i18n', 'en-US': '间隔文字', 'zh-CN': '间隔文字', }, }, name: 'betweenTitle', setter: { componentName: 'StringSetter', isRequired: true, }, }, { name: 'color', title: { label: '间隔颜色', tip: '针对color的效果' }, setter: 'ColorSetter', }, { name: 'borderRadius', title: { label: '边框圆角', tip: '针对border-radius的效果' }, setter: 'NumberSetter', }, ], supports: { style: true, }, component: {}, }, }; const snippets: IPublicTypeSnippet[] = [ { title: 'InputBetween', screenshot: '', schema: { componentName: 'InputBetween', props: {}, }, }, ]; export default { ...InputBetweenMeta, snippets, };