import { ComponentDescription } from '@vtj/engine';
const Result: ComponentDescription = {
  name: 'ElResult',
  title: '结果',
  groupId: 'el',
  categoryId: 'data',
  package: 'element-plus',
  props: [
    {
      name: 'title',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'subTitle',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'icon',
      defaultValue: 'info',
      options: ['success', 'warning', 'info', 'error'],
      setters: 'SelectSetter'
    }
  ],
  slots: ['icon', 'title', 'sub-title', 'extra']
};

export default Result;
