import { ComponentDescription } from '@vtj/engine';
const Scrollbar: ComponentDescription = {
  name: 'ElScrollbar',
  title: '滚动条',
  groupId: 'el',
  categoryId: 'base',
  childIncludes: false,
  package: 'element-plus',
  props: [
    {
      name: 'height',
      defaultValue: '',
      setters: ['NumberSetter', 'InputSetter']
    },
    {
      name: 'maxHeight',
      defaultValue: '',
      setters: ['NumberSetter', 'InputSetter']
    },
    {
      name: 'native',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'wrapStyle',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'wrapClass',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'viewStyle',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'viewClass',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'noresize',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'tag',
      defaultValue: 'div',
      setters: 'InputSetter'
    },
    {
      name: 'always',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'minSize',
      defaultValue: 20,
      setters: 'NumberSetter'
    }
  ],
  events: [
    {
      name: 'scroll'
    }
  ],
  snippet: {
    style: {
      height: '100%'
    }
  }
};

export default Scrollbar;
