mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-05 13:20:20 -05:00
26 lines
711 B
JavaScript
26 lines
711 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import SeriesIndexOverviewOptionsModalContentConnector from './SeriesIndexOverviewOptionsModalContentConnector';
|
|
|
|
function SeriesIndexOverviewOptionsModal({ isOpen, onModalClose, ...otherProps }) {
|
|
return (
|
|
<Modal
|
|
isOpen={isOpen}
|
|
onModalClose={onModalClose}
|
|
>
|
|
<SeriesIndexOverviewOptionsModalContentConnector
|
|
{...otherProps}
|
|
onModalClose={onModalClose}
|
|
/>
|
|
</Modal>
|
|
);
|
|
}
|
|
|
|
SeriesIndexOverviewOptionsModal.propTypes = {
|
|
isOpen: PropTypes.bool.isRequired,
|
|
onModalClose: PropTypes.func.isRequired
|
|
};
|
|
|
|
export default SeriesIndexOverviewOptionsModal;
|