mirror of
https://github.com/Readarr/Readarr
synced 2026-01-06 23:54:49 +01:00
* New: UI Updates, Tag manager, More custom filters * fixup! Fix ScanFixture Unit Tests * Fixed: Sentry Errors from UI don't have release, branch, environment * Changed: Bump Mobile Detect for New Device Detection * Fixed: Build on changes to package.json * fixup! Add MetadataProfile filter option * fixup! Tag Note, Blacklist, Manual Import * fixup: Remove connectSection * fixup: root folder comment
27 lines
746 B
JavaScript
27 lines
746 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import { sizes } from 'Helpers/Props';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import EditRemotePathMappingModalContentConnector from './EditRemotePathMappingModalContentConnector';
|
|
|
|
function EditRemotePathMappingModal({ isOpen, onModalClose, ...otherProps }) {
|
|
return (
|
|
<Modal
|
|
size={sizes.MEDIUM}
|
|
isOpen={isOpen}
|
|
onModalClose={onModalClose}
|
|
>
|
|
<EditRemotePathMappingModalContentConnector
|
|
{...otherProps}
|
|
onModalClose={onModalClose}
|
|
/>
|
|
</Modal>
|
|
);
|
|
}
|
|
|
|
EditRemotePathMappingModal.propTypes = {
|
|
isOpen: PropTypes.bool.isRequired,
|
|
onModalClose: PropTypes.func.isRequired
|
|
};
|
|
|
|
export default EditRemotePathMappingModal;
|