overleaf-cep/services/web/frontend/js/features/dictionary/components/dictionary-modal.tsx
Tim Down c2da12939e Merge pull request #24313 from overleaf/td-ac-bs5-frontend-tests
Update front-end tests to use Bootstrap 5

GitOrigin-RevId: abaa09f8c0639d64d6ade97468ab16204e5de97b
2025-03-24 10:48:20 +00:00

26 lines
667 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"
data-testid="dictionary-modal"
size="sm"
>
<DictionaryModalContent handleHide={handleHide} />
</OLModal>
)
}
export default withErrorBoundary(DictionaryModal)