import { ComponentDescription } from '@vtj/engine';

const components: ComponentDescription = {
  name: 'ElDivider',
  childIncludes: false,
  title: '分割线',
  groupId: 'el',
  categoryId: 'other',
  // icon: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_button.png',
  package: 'element-plus',
  props: [
    {
      name: 'direction',
      defaultValue: 'horizontal',
      setters: 'SelectSetter',
      options: ['horizontal', 'vertical']
    },
    {
      name: 'borderStyle',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'trigger',
      defaultValue: 'center',
      setters: 'SelectSetter',
      options: ['left', 'right', 'center']
    }
  ],
  snippet: {
    name: 'ElDivider',
    children: '分割线'
  }
};

export default components;
