import snippets from './snippets';

export default {
  snippets,
  componentName: 'PisellQrcode',
  title: '二维码预览',
  category: '通用',
  docUrl: "",
  screenshot: "",
  devMode: "proCode",
  npm: {
    package: "@pisell/materials",
    version: "1.0.1",
    exportName: "PisellQrcode",
    main: "src/index.tsx",
    destructuring: true,
    subName: "",
  },
  props: [
    {
      name: 'size',
      title: '二维码尺寸',
      propType: 'number'
    }, {
      name: 'platform',
      title: 'PC端&移动端',
      setter: {
        componentName: 'RadioGroupSetter',
        props: {
          options: [
            { title: 'PC端', value: 'pc' },
            { title: 'h5', value: 'h5' },
            { title: 'ipad', value: 'ipad' },
          ],
        },
      },
    },
  ],
  configure: {
    component: { isContainer: true },
    supports: {
      style: true,
      events: [],
    },
  },
};
