]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/techniques/Requirement.js
clean up manual tracking
[alttp.git] / resources / js / components / techniques / Requirement.js
1 import PropTypes from 'prop-types';
2 import React from 'react';
3
4 import ZeldaIcon from '../common/ZeldaIcon';
5
6 const Requirement = ({ requirement }) =>
7         <div className="requirement">
8                 {requirement.map(r =>
9                         <ZeldaIcon key={r} name={r} />
10                 )}
11         </div>;
12
13 Requirement.propTypes = {
14         requirement: PropTypes.arrayOf(PropTypes.string),
15 };
16
17 export default Requirement;