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