export default [
  {
    title: '排序列表',
    screenshot: 'https://alifd.alicdn.com/fusion-cool/icons/icon-antd/list-1.png',
    schema: {
      componentName: 'SortableList',
      props: {
        dataSource: [
          {
            id: 1,
            text: 'Racing car sprays burning fuel into crowd.',
          },
          {
            id: 2,
            text: 'Japanese princess to wed commoner.',
          },
          {
            id: 3,
            text: 'Australian walks 100km after outback crash.',
          },
          {
            id: 4,
            text: 'Man charged over missing wedding girl.',
          },
          {
            id: 5,
            text: 'Los Angeles battles huge wildfires.',
          },
        ],
        renderItem: {
          type: 'JSSlot',
          params: ['item'],
          value: [
            {
              componentName: 'Button',
              props: {
                type: 'primary',
                children: {
                  type: 'JSExpression',
                  value: 'this.item.text',
                },
              },
            },
          ],
        },
      },
    },
  },
];
