+
+
+ {description && {description}}
+
{levelComponentMapping[level]}
@@ -111,6 +121,7 @@ MoreInfoModal.propTypes = {
prerequisites: PropTypes.string,
syllabus: PropTypes.string,
isFull: PropTypes.bool,
+ description: PropTypes.string,
onClickAddToCart: PropTypes.func,
onClickRemoveFromCart: PropTypes.func,
};