1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Link } from 'react-router-dom';
8 } from '../../helpers/Technique';
9 import i18n from '../../i18n';
11 const List = ({ techniques }) => <ul className="tech-list">
12 {techniques.map(tech =>
15 <Link to={getLink(tech)}>
16 {getTranslation(tech, 'title', i18n.language)}
19 <p>{getTranslation(tech, 'short', i18n.language)}</p>
25 techniques: PropTypes.arrayOf(PropTypes.shape({
27 name: PropTypes.string,