import { IPublicTypeSnippet } from '@alilc/lowcode-types';

const snippets: IPublicTypeSnippet[] = [
  {
    title: '图片卡片',
    screenshot: '',
    schema: {
      componentName: 'PisellCards.PisellImageCard',
      props: {
        dataSource: {
          src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
          alt: '图片',
        },
        fillMode: 'cover',
        width: '100%',
        height: '100%',
      },
    },
  },
  {
    title: '图片卡片-带占位图',
    screenshot: '',
    schema: {
      componentName: 'PisellCards.PisellImageCard',
      props: {
        dataSource: {
          src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
          alt: '商品图片',
        },
        fillMode: 'contain',
        width: 200,
        height: 200,
      },
    },
  },
];

export default snippets;


