import { ComponentDescription } from '@vtj/engine';
const Skeleton: ComponentDescription = {
  name: 'ElSkeleton',
  title: '骨架屏',
  childIncludes: false,
  groupId: 'el',
  categoryId: 'data',
  package: 'element-plus',
  props: [
    {
      name: 'animated',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'count',
      defaultValue: 1,
      setters: 'NumberSetter'
    },
    {
      name: 'loading',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'rows',
      defaultValue: 3,
      setters: 'NumberSetter'
    },
    {
      name: 'throttle',
      defaultValue: 0,
      setters: 'NumberSetter'
    }
  ],
  events: ['default', 'template']
};

export default Skeleton;
