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.
23 lines
569 B
23 lines
569 B
import React from 'react';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import TagsModalContent from './TagsModalContent';
|
|
|
|
interface TagsModalProps {
|
|
isOpen: boolean;
|
|
ids: number[];
|
|
onApplyTagsPress: (tags: number[], applyTags: string) => void;
|
|
onModalClose: () => void;
|
|
}
|
|
|
|
function TagsModal(props: TagsModalProps) {
|
|
const { isOpen, onModalClose, ...otherProps } = props;
|
|
|
|
return (
|
|
<Modal isOpen={isOpen} onModalClose={onModalClose}>
|
|
<TagsModalContent {...otherProps} onModalClose={onModalClose} />
|
|
</Modal>
|
|
);
|
|
}
|
|
|
|
export default TagsModal;
|