export default [
  {
    title: '长文本',
    screenshot: '',
    schema: {
      componentName: 'PisellLongText',
      props: {
        mode: 'edit',
        placeholder: '请输入内容',
        rows: 3,
        allowClear: true,
      },
    },
  },
  {
    title: '长文本（自动高度）',
    screenshot: '',
    schema: {
      componentName: 'PisellLongText',
      props: {
        mode: 'edit',
        placeholder: '请输入内容',
        autoSize: { minRows: 3, maxRows: 10 },
      },
    },
  },
  {
    title: '长文本（只读展开）',
    screenshot: '',
    schema: {
      componentName: 'PisellLongText',
      props: {
        mode: 'read',
        value: '这是一段很长的文本内容\\n第二行内容\\n第三行内容\\n第四行内容',
        maxLines: 3,
        enableExpand: true,
      },
    },
  },
  {
    title: '长文本（必填）',
    screenshot: '',
    schema: {
      componentName: 'PisellLongText',
      props: {
        mode: 'edit',
        placeholder: '请输入内容',
        required: true,
        minLength: 10,
        maxLength: 500,
        showCount: true,
      },
    },
  },
];
