import React from 'react';
import { makeStyles } from '@material-ui/core';
const useStyles = makeStyles(theme => ({
    root: {
        display: 'flex',
        justifyContent: 'center',
    },
    image: {
        maxWidth: 465,
    },
}));
const ImagePreview = props => {
    const { image } = props;
    const classes = useStyles();
    return (React.createElement("div", { className: classes.root }, React.createElement("img", { className: classes.image, src: image, alt: "upload preview" })));
};
export default ImagePreview;
//# sourceMappingURL=ImagePreview.js.map