import React from 'react'; import './index.less'; interface ImageViewProps extends React.HTMLAttributes { defaultSrc?: string; src?: string; alt?: string; onError?: (e: any) => void; className?: string; } declare function ImageView({ src, defaultSrc, alt, onError, className, ...props }: ImageViewProps): JSX.Element; declare namespace ImageView { var defaultProps: { className: string; defaultSrc: string; }; } export default ImageView;