overleaf/services/web/frontend/js/features/outline/controllers/documentation-button-controller.js
Davinder Singh de245c288a Merge pull request #11653 from overleaf/ds-documentation-btn-on-editor
Adding documentation button on the editor

GitOrigin-RevId: e03fd7b931eb0fe7273e6e9d0185c81c384df916
2023-02-15 09:04:37 +00:00

9 lines
351 B
JavaScript

import { react2angular } from 'react2angular'
import DocumentationButton from '../components/documentation-button'
import { rootContext } from '../../../../../frontend/js/shared/context/root-context'
import App from '../../../../../frontend/js/base'
App.component(
'documentationButton',
react2angular(rootContext.use(DocumentationButton), [])
)