import React from 'react'; import PropTypes from 'prop-types'; import { Modal, ModalVariant } from '@patternfly/react-core'; import CreateContentViewForm from './CreateContentViewForm'; const CreateContentViewModal = ({ show, setIsOpen }) => ( { setIsOpen(false); }} appendTo={document.body} > ); CreateContentViewModal.propTypes = { show: PropTypes.bool, setIsOpen: PropTypes.func, }; CreateContentViewModal.defaultProps = { show: false, setIsOpen: null, }; export default CreateContentViewModal;