- {ENTERPRISE_OFFER_SUMMARY_CARD_TITLE}
-
- {ENTERPRISE_OFFER_ACTIVE_BADGE_LABEL}
-
-
- )
- }
- cardClassNames={className}
- >
-
- Apply your organization's Learner Credit balance to enroll into courses with no out of pocket cost.
-
- {offerExpiringFirst?.endDatetime && (
-
- Available until {dayjs(offerExpiringFirst.endDatetime).format('MMM D, YYYY')}
-
- )}
- {searchCoursesCta && (
-
- {searchCoursesCta}
-
- )}
-
- );
-};
-
-EnterpriseOffersSummaryCard.propTypes = {
- offers: PropTypes.arrayOf(PropTypes.shape({
- endDatetime: PropTypes.string,
- remainingBalanceForUser: PropTypes.number,
- })).isRequired,
- className: PropTypes.string,
- searchCoursesCta: PropTypes.node,
-};
-
-EnterpriseOffersSummaryCard.defaultProps = {
- className: undefined,
- searchCoursesCta: undefined,
-};
-
-export default EnterpriseOffersSummaryCard;
diff --git a/src/components/dashboard/sidebar/LearnerCreditSummaryCard.jsx b/src/components/dashboard/sidebar/LearnerCreditSummaryCard.jsx
new file mode 100644
index 0000000000..009ed9418a
--- /dev/null
+++ b/src/components/dashboard/sidebar/LearnerCreditSummaryCard.jsx
@@ -0,0 +1,62 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+import { Badge, Row, Col } from '@edx/paragon';
+import dayjs from 'dayjs';
+import {
+ LEARNER_CREDIT_SUMMARY_CARD_TITLE,
+ LEARNER_CREDIT_ACTIVE_BADGE_LABEL,
+ LEARNER_CREDIT_ACTIVE_BADGE_VARIANT,
+ LEARNER_CREDIT_CARD_SUMMARY,
+} from './data/constants';
+import SidebarCard from './SidebarCard';
+
+const LearnerCreditSummaryCard = ({
+ className, expirationDate, searchCoursesCta,
+}) => (
+