- Drop mock data, call real API instead - Call course metadata API for general info, not the dates API - Mark text as translatable - Add badges and timeline dots, group same-day items AA-116
23 lines
430 B
JavaScript
23 lines
430 B
JavaScript
import React from 'react';
|
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
|
|
|
import messages from './messages';
|
|
import Timeline from './Timeline';
|
|
|
|
function DatesTab({ intl }) {
|
|
return (
|
|
<>
|
|
<h2 className="mb-4">
|
|
{intl.formatMessage(messages.title)}
|
|
</h2>
|
|
<Timeline />
|
|
</>
|
|
);
|
|
}
|
|
|
|
DatesTab.propTypes = {
|
|
intl: intlShape.isRequired,
|
|
};
|
|
|
|
export default injectIntl(DatesTab);
|