mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 08:52:19 -05:00
f6fc3d468c
PDF Detach Updates GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
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), [])
|
|
)
|