import { IPublicTypeSnippet } from '@alilc/lowcode-types';

const snippets: IPublicTypeSnippet[] = [
  {
    title: 'PisellSort',
    screenshot: '',
    schema: {
      componentName: 'PisellSort',
      props: {
        name: 'sort_key',
        list: [
          {
            type: 'date',
            label: '创建时间',
            name: 'created_at',
            isCustom: false,
            columnKey: 'created_at',
            localFilter: false,
            isHidden: false,
          },
          {
            type: 'number',
            label: '价格',
            name: 'price',
            isCustom: false,
            columnKey: 'price',
            localFilter: false,
            isHidden: false,
          },
        ],
      },
    },
  },
];

export default snippets;
