import { ComponentDescription } from '@vtj/engine';
const Badge: ComponentDescription = {
  name: 'ElBadge',
  title: '徽章',
  groupId: 'el',
  categoryId: 'data',
  childIncludes: false,
  package: 'element-plus',
  props: [
    {
      name: 'value',
      defaultValue: '',
      title: '显示值',
      setters: ['InputSetter', 'NumberSetter']
    },
    {
      name: 'max',
      defaultValue: 99,
      setters: 'NumberSetter'
    },
    {
      name: 'isDot',
      defaultValue: false,
      title: '是否显示小圆点。',
      setters: 'BooleanSetter'
    },
    {
      name: 'hidden',
      defaultValue: false,
      title: '是否隐藏 Badge。',
      setters: 'BooleanSetter'
    },
    {
      name: 'type',
      defaultValue: 'danger',
      title: 'badge 类型。',
      options: ['primary', 'success', 'warning', 'danger', 'info'],
      setters: 'BooleanSetter'
    }
  ]
};

export default Badge;
