mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-21 02:41:24 +00:00
17 lines
624 B
JavaScript
17 lines
624 B
JavaScript
import App from '../../../base'
|
|
import { react2angular } from 'react2angular'
|
|
|
|
import PdfPreview from '../components/pdf-preview'
|
|
import { rootContext } from '../../../shared/context/root-context'
|
|
import PdfSynctexControls from '../components/pdf-synctex-controls'
|
|
import { DetacherSynctexControl } from '../components/detach-synctex-control'
|
|
|
|
App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))
|
|
App.component(
|
|
'pdfSynctexControls',
|
|
react2angular(rootContext.use(PdfSynctexControls), [])
|
|
)
|
|
App.component(
|
|
'detacherSynctexControl',
|
|
react2angular(rootContext.use(DetacherSynctexControl), [])
|
|
)
|