import { IPublicTypeSnippet } from '@alilc/lowcode-types'; const snippets: IPublicTypeSnippet[] = [ { title: 'PisellFilter', screenshot: '', schema: { componentName: 'PisellFilter', props: { value: { quickFilter: [ { type: 'single', key: 'status', label: '状态', name: 'status', props: { options: [ { label: '全部', value: 'all' }, { label: '启用', value: 'enabled' }, { label: '禁用', value: 'disabled' }, ], }, other: {}, }, ], otherFilter: [ { type: 'input', key: 'keyword', label: '关键词', name: 'keyword', props: { placeholder: '请输入关键词', }, other: {}, }, ], }, quickFilterMaxLength: 100, formFiltersPrefix: 'filter_', hiddenQuickFilter: false, hiddenOtherFilter: false, }, }, }, ]; export default snippets;