import { ComponentDescription } from '@vtj/engine';
const Breadcrumb: ComponentDescription[] = [
  {
    name: 'ElBreadcrumb',
    childIncludes: ['ElBreadcrumbItem'],
    title: '面包屑',
    groupId: 'el',
    categoryId: 'nav',
    // icon: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_button.png',
    package: 'element-plus',
    props: [
      {
        name: 'separator',
        defaultValue: '',
        setters: 'InputSetter'
      },
      {
        name: 'separatorIcon',
        defaultValue: '',
        setters: ['InputSetter', 'ExpressionSetter']
      }
    ],
    snippet: {
      name: 'ElBreadcrumb',
      props: {
        offset: 120,
      }
    }
  },
  {
    name: 'ElBreadcrumbItem',
    title: '面包屑item',
    groupId: 'el',
    categoryId: 'nav',
    // icon: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_button.png',
    package: 'element-plus',
    props: [
      {
        name: 'to',
        defaultValue: '',
        setters: ['InputSetter', 'JSONSetter']
      },
      {
        name: 'replace',
        defaultValue: '',
        setters: 'InputSetter'
      }
    ],
    snippet: {
      name: 'ElBreadcrumbItem',
      children: '面包屑item1',
      props: {
        offset: 120,
      }
    }
  }
];

export default Breadcrumb;
