mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
9253dac12f
Unmount Default Synctex Controls in Detacher Mode GitOrigin-RevId: bc754fb172aba7430003f7a61eddb4450b175025
19 lines
587 B
JavaScript
19 lines
587 B
JavaScript
import App from '../../../base'
|
|
import { react2angular } from 'react2angular'
|
|
|
|
import PdfPreview from '../components/pdf-preview'
|
|
import { rootContext } from '../../../shared/context/root-context'
|
|
import {
|
|
DefaultSynctexControl,
|
|
DetacherSynctexControl,
|
|
} from '../components/detach-synctex-control'
|
|
|
|
App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))
|
|
App.component(
|
|
'pdfSynctexControls',
|
|
react2angular(rootContext.use(DefaultSynctexControl), [])
|
|
)
|
|
App.component(
|
|
'detacherSynctexControl',
|
|
react2angular(rootContext.use(DetacherSynctexControl), [])
|
|
)
|