export default [
  {
    title: '宽度',
    name: 'style.width',
    setter: ['NumberSetter', 'StringSetter'],
  },
  {
    title: '显示边框',
    name: 'style.border',
    setter: {
      componentName: 'RadioGroupSetter',
      props: {
        options: [
          {
            label: '显示边框',
            value: 'solid',
          },
          {
            label: '无边框',
            value: 'unset',
          },
        ],
      },
      initialValue: 'solid'
    },
  },
  {
    title: '边框粗细',
    name: 'style.borderWidth',
    setter: ['NumberSetter', 'StringSetter'],
    defaultValue: 1
  },
  {
    title: '边框颜色',
    name: 'style.borderColor',
    setter: ['ColorSetter'],
    defaultValue: '#D0D5DD'
  },
  {
    title: '圆角',
    name: 'style.borderRadius',
    setter: ['NumberSetter', 'StringSetter'],
    defaultValue: 8
  },
  {
    title: '内边距',
    name: 'style.padding',
    setter: ['NumberSetter', 'StringSetter'],
    defaultValue: 8
  },
  {
    title: { label: '左右间距', tip: '头像与内容之间间距' },
    name: 'horizontalGap',
    setter: ['NumberSetter', 'StringSetter'],
    defaultValue: 8
  },
  {
    title: { label: '字段', tip: '字段上下间距' },
    name: 'verticalGap',
    setter: ['NumberSetter', 'StringSetter'],
    defaultValue: 4
  },
];
