1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Container } from 'react-bootstrap';
4 import { withTranslation } from 'react-i18next';
6 import List from './List';
7 import i18n from '../../i18n';
9 const Overview = ({ techniques }) => <Container>
10 <h1>{i18n.t('techniques.heading')}</h1>
11 <List techniques={techniques} />
14 Overview.propTypes = {
15 techniques: PropTypes.arrayOf(PropTypes.shape({
19 export default withTranslation()(Overview);