const Meta = {
  componentName: 'WalletPassGallery',
  title: 'WalletPassGallery',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/private-materials',
    version: '1.1.558',
    exportName: 'WalletPassGallery',
    main: 'src/index.ts',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'Hide Title',
            'zh-CN': '隐藏标题',
            'zh-HK': '隱藏標題',
          },
        },
        name: 'hideTitle',
        propType: 'bool',
        setter: 'BoolSetter',
        defaultValue: false,
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'Hide Add Button',
            'zh-CN': '隐藏添加按钮',
            'zh-HK': '隱藏添加按鈕',
          },
        },
        name: 'hideAddButton',
        propType: 'bool',
        setter: 'BoolSetter',
        defaultValue: false,
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'Customer',
            'zh-CN': '当前客户',
            'zh-HK': '当前客户',
          },
        },
        name: 'customer',
        setter: 'JsonSetter',
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'Platform',
            'zh-CN': '平台',
            'zh-HK': '平台',
          },
        },
        name: 'platform',
        propType: {
          type: 'oneOf',
          value: ['pc', 'h5'],
        },
        setter: {
          componentName: 'RadioGroupSetter',
          props: {
            options: [
              { title: 'PC', value: 'pc' },
              { title: 'H5', value: 'h5' },
            ],
          },
        },
      },
    ],
    supports: {},
    component: {},
  },
};
const snippets = [
  {
    title: '钱包卡券列表',
    screenshot: '',
    schema: {
      componentName: 'WalletPassGallery',
      props: {},
    },
  },
];

export default {
  ...Meta,
  snippets,
};
