import snippets from './snippets';
import { MetaType } from '../_utils/type';

const PisellGridProMeta: MetaType = {
  snippets,
  componentName: 'PisellGridPro',
  title: '布局容器',
  category: '布局容器',
  group: 'Pro 组件',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/materials',
    version: '1.0.3',
    exportName: 'PisellGridPro',
    main: 'src/index.tsx',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        name: 'className',
        title: {
          label: {
            type: 'i18n',
            'en-US': 'ClassName',
            'zh-CN': '类名',
          },
        },
        setter: 'StringSetter',
      },
      {
        name: 'style',
        title: {
          label: {
            type: 'i18n',
            'en-US': 'Style',
            'zh-CN': '样式',
          },
        },
        setter: 'StyleSetter',
      },
    ],
    component: {
      isContainer: true,
    },
    supports: {
      style: true,
      className: true,
    },
  },
};

export default PisellGridProMeta;
