Files
frontend-app-learning/src/dates-tab/DatesTab.jsx
Michael Terry bdb1afe990 Finish up basic dates tab support (#70)
- 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
2020-05-26 13:15:36 -04:00

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);