overleaf/services/web/frontend/js/features/pdf-preview/controllers/pdf-preview-controller.js
Alf Eaton 73bc3418a2 Add React version of the PDF preview pane (#5135)
GitOrigin-RevId: fcc88a362c3e97c9fddf85d47c3a83a0a0b89432
2021-10-01 08:03:12 +00:00

7 lines
274 B
JavaScript

import App from '../../../base'
import { react2angular } from 'react2angular'
import PdfPreview from '../components/pdf-preview'
import { rootContext } from '../../../shared/context/root-context'
App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))