overleaf/services/web/frontend/js/features/source-editor/controllers/grammarly-warning-controller.js
M Fahru 31c503be2d Add 10 seconds delay before showing grammarly warning
GitOrigin-RevId: 11bb3ca5704ef5cc782d14eb6f4f10a1fa2a656e
2022-11-25 09:04:33 +00:00

9 lines
310 B
JavaScript

import App from '../../../base'
import { react2angular } from 'react2angular'
import { rootContext } from '../../../shared/context/root-context'
import GrammarlyWarning from '../components/grammarly-warning'
App.component(
'grammarlyWarning',
react2angular(rootContext.use(GrammarlyWarning), ['delay'])
)