import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { Button, Modal, ModalBody, ModalHeader } from 'reactstrap'; import { planRoutes } from './UserPlans'; import { Trans, translate } from 'react-i18next'; function UpgradePlanModal({ isModalOpen = false, toggle, t }) { function toggleModal() { return toggle(); } return (

{t('plans.upgradeModal.heading')}

You have to upgrade your plan to get access of these features. Take a look at our bite-sized à la carte menu options with monthly billing. {' '} {t('plans.upgradeModal.learnMore')}

); } UpgradePlanModal.propTypes = { isModalOpen: PropTypes.bool, t: PropTypes.func.isRequired, toggle: PropTypes.func }; export default React.memo( translate(['tabsContent'], { wait: true })(UpgradePlanModal) );