forked from Gitlink/forgeplus-react
24 lines
488 B
JavaScript
24 lines
488 B
JavaScript
import React from 'react';
|
|
import { Modal } from 'antd';
|
|
|
|
import './order.css';
|
|
function AmplifyImg(props) {
|
|
|
|
return (
|
|
<Modal
|
|
title={null}
|
|
footer={null}
|
|
visible={props.visible}
|
|
onCancel={() => props.setVisible(false)}
|
|
closable={true}
|
|
centered={true}
|
|
width={'96%'}
|
|
className={'AmplifyImg'}
|
|
>
|
|
<div className={"amplifyContent"}>
|
|
<img src={props.url} alt="" />
|
|
</div>
|
|
</Modal>
|
|
);
|
|
}
|
|
export default AmplifyImg; |