You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readarr/frontend/src/Artist/Search/ArtistInteractiveSearchModa...

34 lines
781 B

import PropTypes from 'prop-types';
import React from 'react';
import Modal from 'Components/Modal/Modal';
import ArtistInteractiveSearchModalContent from './ArtistInteractiveSearchModalContent';
function ArtistInteractiveSearchModal(props) {
const {
isOpen,
artistId,
onModalClose
} = props;
return (
<Modal
isOpen={isOpen}
closeOnBackgroundClick={false}
onModalClose={onModalClose}
>
<ArtistInteractiveSearchModalContent
artistId={artistId}
onModalClose={onModalClose}
/>
</Modal>
);
}
ArtistInteractiveSearchModal.propTypes = {
isOpen: PropTypes.bool.isRequired,
artistId: PropTypes.number.isRequired,
onModalClose: PropTypes.func.isRequired
};
export default ArtistInteractiveSearchModal;