lbry-desktop/ui/component/viewers/imageViewer.jsx

18 lines
266 B
React
Raw Normal View History

2019-08-06 05:25:33 +02:00
// @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;