mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-14 23:30:53 -05:00
f8efc3e2ae
[web] Implement the editor's left menu in Offcanvas GitOrigin-RevId: 999e995d664b1dc958f56643f05e95b8aa2d6290
25 lines
630 B
TypeScript
25 lines
630 B
TypeScript
import React from 'react'
|
|
import DictionaryModalContent from './dictionary-modal-content'
|
|
import withErrorBoundary from '../../../infrastructure/error-boundary'
|
|
import OLModal from '@/features/ui/components/ol/ol-modal'
|
|
|
|
type DictionaryModalProps = {
|
|
show?: boolean
|
|
handleHide: () => void
|
|
}
|
|
|
|
function DictionaryModal({ show, handleHide }: DictionaryModalProps) {
|
|
return (
|
|
<OLModal
|
|
animation
|
|
show={show}
|
|
onHide={handleHide}
|
|
id="dictionary-modal"
|
|
size="sm"
|
|
>
|
|
<DictionaryModalContent handleHide={handleHide} />
|
|
</OLModal>
|
|
)
|
|
}
|
|
|
|
export default withErrorBoundary(DictionaryModal)
|