export default [
  {
    title: '单行文本',
    screenshot: '',
    schema: {
      componentName: 'PisellSingleLineText',
      props: {
        mode: 'edit',
        placeholder: '请输入',
        allowClear: true,
      },
    },
  },
  {
    title: '单行文本（只读）',
    screenshot: '',
    schema: {
      componentName: 'PisellSingleLineText',
      props: {
        mode: 'read',
        value: '示例文本内容',
        ellipsis: true,
        showTooltip: true,
      },
    },
  },
  {
    title: '单行文本（必填）',
    screenshot: '',
    schema: {
      componentName: 'PisellSingleLineText',
      props: {
        mode: 'edit',
        placeholder: '请输入',
        required: true,
        minLength: 2,
        maxLength: 50,
      },
    },
  },
];
