lbry-desktop/ui/component/viewers/imageViewer.jsx
2019-11-11 13:27:29 -05:00

17 lines
266 B
JavaScript

// @flow
import React from 'react';
type Props = {
source: string,
};
function ImageViewer(props: Props) {
const { source } = props;
return (
<div className="file-render__viewer">
<img src={source} />
</div>
);
}
export default ImageViewer;