export default [
  {
    type: 'group',
    display: 'plain',
    title: '姓名样式',
    condition: (target: any) => target.getProps().getPropValue('isShowName'),
    items: [
      {
        title: '文本大小',
        name: 'nameStyle.fontSize',
        setter: ['NumberSetter', 'StringSetter'],
        defaultValue: 14,
      },
      {
        title: '文本粗细',
        name: 'nameStyle.fontWeight',
        setter: ['NumberSetter', 'StringSetter'],
        defaultValue: 600,
      },
      {
        title: '文本颜色',
        name: 'nameStyle.color',
        setter: ['ColorSetter'],
        defaultValue: '#000',
      },
      {
        title: '文本下划线',
        name: 'nameStyle.textDecoration',
        setter: ['StringSetter'],
        defaultvalu: 'unset',
      },
    ],
  },
];
