// @flow import * as React from 'react'; import { stopContextMenu } from 'util/context-menu'; import IframeReact from 'component/IframeReact'; type Props = { source: string, }; class PdfViewer extends React.PureComponent { render() { const { source } = this.props; const src = IS_WEB ? source : `file://${source}`; return (
); } } export default PdfViewer;