mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
430b7528b2
Add UI to Remove Words from Dictionary GitOrigin-RevId: a28d865e3c968d6fff113237fcf4143b77af046e
25 lines
666 B
TypeScript
25 lines
666 B
TypeScript
import React from 'react'
|
|
import DictionaryModalContent from './dictionary-modal-content'
|
|
import AccessibleModal from '../../../shared/components/accessible-modal'
|
|
import withErrorBoundary from '../../../infrastructure/error-boundary'
|
|
|
|
type DictionaryModalProps = {
|
|
show?: boolean
|
|
handleHide: () => void
|
|
}
|
|
|
|
function DictionaryModal({ show, handleHide }: DictionaryModalProps) {
|
|
return (
|
|
<AccessibleModal
|
|
animation
|
|
show={show}
|
|
onHide={handleHide}
|
|
id="dictionary-modal"
|
|
bsSize="small"
|
|
>
|
|
<DictionaryModalContent handleHide={handleHide} />
|
|
</AccessibleModal>
|
|
)
|
|
}
|
|
|
|
export default withErrorBoundary(DictionaryModal)
|