export default [
  {
    title: 'Input 搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'input',
        placeholder: '请输入搜索内容',
        displayType: 'inline',
        searchMode: 'realtime',
        showClear: true,
        showConfirmButton: true,
        confirmButtonText: 'Lookup',
      },
    },
  },
  {
    title: 'Button 搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'button',
        buttonText: '搜索',
        displayType: 'modal',
        modalWidth: 834,
      },
    },
  },
  {
    title: '带历史记录搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'input',
        placeholder: '搜索商品',
        displayType: 'inline',
        showHistory: true,
        maxHistoryCount: 10,
        searchMode: 'realtime',
      },
    },
  },
  {
    title: '完整功能搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'input',
        placeholder: '搜索商品',
        displayType: 'inline',
        showHistory: true,
        showSuggestions: true,
        showHotWords: true,
        maxHistoryCount: 10,
        searchMode: 'realtime',
      },
    },
  },
  {
    title: 'Modal 搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'button',
        buttonText: '打开搜索',
        displayType: 'modal',
        modalWidth: 834,
        showHistory: true,
        showHotWords: true,
      },
    },
  },
  {
    title: 'Drawer 搜索',
    screenshot: '',
    schema: {
      componentName: 'PisellLookup',
      props: {
        triggerType: 'button',
        buttonText: '搜索',
        displayType: 'drawer',
        drawerWidth: 500,
        drawerPlacement: 'right',
        showHistory: true,
      },
    },
  },
];
