import { ComponentDescription } from '@vtj/engine';
const Link: ComponentDescription = {
  name: 'ElLink',
  title: '链接',
  groupId: 'el',
  categoryId: 'base',
  childIncludes: false,
  package: 'element-plus',
  props: [
    {
      name: 'type',
      defaultValue: 'default',
      setters: 'SelectSetter',
      options: ['primary', 'success', 'warning', 'danger', 'info', 'default']
    },
    {
      name: 'underline',
      defaultValue: true,
      setters: 'BooleanSetter'
    },
    {
      name: 'disabled',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'href',
      defaultValue: '',
      setters: 'InputSetter'
    }
  ],
  snippet: {
    children: '链接'
  },
  slots: [
    {
      name: 'default'
    },
    {
      name: 'icon'
    }
  ]
};

export default Link;
