import showPreviewImageDialog from "./PreviewImageDialog"; import "../less/image.less"; interface Props { imgUrls: string[]; index: number; className?: string; } const Image: React.FC = (props: Props) => { const { className, imgUrls, index } = props; const handleImageClick = () => { showPreviewImageDialog(imgUrls, index); }; return (
); }; export default Image;