import { type ImageProps } from 'antd'; import React from 'react'; import PreviewGroup from './PreviewGroup'; interface IProps { /** 指定图片内容适应尺寸的方式, 默认为cover */ fitType?: 'cover' | 'fill' | 'contain' | 'none' | 'scaleDown'; /** 下载的图片文件名,需要带上后缀,如果不传默认为image.png */ downloadName?: string; } interface CompositionImage

extends React.FC

{ PreviewGroup: typeof PreviewGroup; } declare const Index: CompositionImage; export type IndexProps = ImageProps & IProps; export default Index;