export default [
  {
    title: '数值输入',
    screenshot: '',
    schema: {
      componentName: 'PisellNumber',
      props: {
        mode: 'edit',
        placeholder: '请输入数字',
        step: 1,
      },
    },
  },
  {
    title: '数值输入（范围限制）',
    screenshot: '',
    schema: {
      componentName: 'PisellNumber',
      props: {
        mode: 'edit',
        placeholder: '请输入数字',
        min: 0,
        max: 100,
        step: 1,
      },
    },
  },
  {
    title: '数值输入（小数）',
    screenshot: '',
    schema: {
      componentName: 'PisellNumber',
      props: {
        mode: 'edit',
        placeholder: '请输入数字',
        precision: 2,
        step: 0.01,
      },
    },
  },
  {
    title: '数值展示（只读）',
    screenshot: '',
    schema: {
      componentName: 'PisellNumber',
      props: {
        mode: 'read',
        value: 1234.56,
        precision: 2,
        useGrouping: true,
      },
    },
  },
  {
    title: '数值输入（带单位）',
    screenshot: '',
    schema: {
      componentName: 'PisellNumber',
      props: {
        mode: 'edit',
        placeholder: '请输入',
        addonAfter: 'kg',
        min: 0,
        precision: 2,
      },
    },
  },
];
