export const configJson = [{
  title: 'Button 按钮',
  value: 'button',
  children: [
    {
      name: 'block',
      title: '块元素',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'disabled',
      title: '禁用',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'ghost',
      title: '镂空按钮',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'loading',
      title: '加载状态',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'shape',
      title: '按钮形状',
      type: 'enum',
      defaultValue: 'rectangle',
      options: [
        {
          label: 'rectangle',
          value: 'rectangle'
        },
        {
          label: 'square',
          value: 'square'
        },
        {
          label: 'round',
          value: 'round'
        },
        {
          label: 'circle',
          value: 'circle'
        }
      ]
    },
    {
      name: 'theme',
      title: '组件风格',
      type: 'enum',
      defaultValue: 'primary',
      options: [
        {
          label: 'default',
          value: 'default'
        },
        {
          label: 'primary',
          value: 'primary'
        },
        {
          label: 'danger',
          value: 'danger'
        },
        {
          label: 'warning',
          value: 'warning'
        },
        {
          label: 'success',
          value: 'success'
        }
      ]
    },
    {
      name: 'size',
      title: '尺寸',
      type: 'enum',
      defaultValue: 'medium',
      options: [
        {
          label: 'small',
          value: 'small'
        },
        {
          label: 'medium',
          value: 'medium'
        },
        {
          label: 'large',
          value: 'large'
        }
      ]
    },
    {
      name: 'type',
      title: '按钮类型',
      type: 'enum',
      defaultValue: 'button',
      options: [
        {
          label: 'submit',
          value: 'submit'
        },
        {
          label: 'reset',
          value: 'reset'
        },
        {
          label: 'button',
          value: 'button'
        }
      ]
    },
    {
      name: 'variant',
      title: '按钮形式',
      type: 'enum',
      defaultValue: 'base',
      options: [
        {
          label: 'base',
          value: 'base'
        },
        {
          label: 'outline',
          value: 'outline'
        },
        {
          label: 'dashed',
          value: 'dashed'
        },
        {
          label: 'text',
          value: 'text'
        }
      ]
    }
  ]
}, {
  title: 'Button Group 按钮组',
  value: 'buttonGroup',
  children: [
    {
      name: 'disabled',
      title: '禁用',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'ghost',
      title: '镂空按钮',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'loading',
      title: '加载状态',
      type: 'Boolean',
      defaultValue: false,
      options: []
    },
    {
      name: 'shape',
      title: '按钮形状',
      type: 'enum',
      defaultValue: 'rectangle',
      options: [
        {
          label: 'rectangle',
          value: 'rectangle'
        },
        {
          label: 'square',
          value: 'square'
        },
        {
          label: 'round',
          value: 'round'
        },
        {
          label: 'circle',
          value: 'circle'
        }
      ]
    },
    {
      name: 'theme',
      title: '组件风格',
      type: 'enum',
      defaultValue: 'primary',
      options: [
        {
          label: 'default',
          value: 'default'
        },
        {
          label: 'primary',
          value: 'primary'
        },
        {
          label: 'danger',
          value: 'danger'
        },
        {
          label: 'warning',
          value: 'warning'
        },
        {
          label: 'success',
          value: 'success'
        }
      ]
    },
    {
      name: 'size',
      title: '尺寸',
      type: 'enum',
      defaultValue: 'medium',
      options: [
        {
          label: 'small',
          value: 'small'
        },
        {
          label: 'medium',
          value: 'medium'
        },
        {
          label: 'large',
          value: 'large'
        }
      ]
    },
    {
      name: 'type',
      title: '按钮类型',
      type: 'enum',
      defaultValue: 'button',
      options: [
        {
          label: 'submit',
          value: 'submit'
        },
        {
          label: 'reset',
          value: 'reset'
        },
        {
          label: 'button',
          value: 'button'
        }
      ]
    },
    {
      name: 'variant',
      title: '按钮形式',
      type: 'enum',
      defaultValue: 'base',
      options: [
        {
          label: 'base',
          value: 'base'
        },
        {
          label: 'outline',
          value: 'outline'
        },
        {
          label: 'dashed',
          value: 'dashed'
        },
        {
          label: 'text',
          value: 'text'
        }
      ]
    }
  ]
}]
