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.
26 lines
652 B
26 lines
652 B
import React from 'react';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import MovieIndexOverviewOptionsModalContent from './MovieIndexOverviewOptionsModalContent';
|
|
|
|
interface MovieIndexOverviewOptionsModalProps {
|
|
isOpen: boolean;
|
|
onModalClose(...args: unknown[]): void;
|
|
}
|
|
|
|
function MovieIndexOverviewOptionsModal({
|
|
isOpen,
|
|
onModalClose,
|
|
...otherProps
|
|
}: MovieIndexOverviewOptionsModalProps) {
|
|
return (
|
|
<Modal isOpen={isOpen} onModalClose={onModalClose}>
|
|
<MovieIndexOverviewOptionsModalContent
|
|
{...otherProps}
|
|
onModalClose={onModalClose}
|
|
/>
|
|
</Modal>
|
|
);
|
|
}
|
|
|
|
export default MovieIndexOverviewOptionsModal;
|