export default [
  {
    title: '操作面板',
    screenshot: '',
    schema: {
      componentName: 'PisellActionPanel',
      props: {
        groups: [
          {
            items: [
              { label: '取消', key: 'cancel' },
              { label: '确定', priority: 'primary', key: 'submit' },
            ],
          },
        ],
        layout: 'horizontal',
        align: 'right',
        overflowStrategy: 'wrap',
        itemGap: 8,
      },
    },
  },
  {
    title: '操作面板-竖向',
    screenshot: '',
    schema: {
      componentName: 'PisellActionPanel',
      props: {
        groups: [
          {
            items: [
              { label: '主操作', priority: 'primary' },
              { label: '次操作' },
            ],
          },
        ],
        layout: 'vertical',
        align: 'left',
      },
    },
  },
];
