X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftechniques%2FOverview.js;h=f82a8777ab3e4725c6fe2b58fbd1575188ab2d89;hb=2c5535946aa15278c6e969c9a9b24d32a45e5b12;hp=16868655b12fe473a2f7425415939504fa914a74;hpb=de9be1288c2b3214e007c8d67d6b19e756cf08ba;p=alttp.git diff --git a/resources/js/components/techniques/Overview.js b/resources/js/components/techniques/Overview.js index 1686865..f82a877 100644 --- a/resources/js/components/techniques/Overview.js +++ b/resources/js/components/techniques/Overview.js @@ -4,20 +4,32 @@ import { Container } from 'react-bootstrap'; import { withTranslation } from 'react-i18next'; import List from './List'; +import TechFilter from './TechFilter'; import i18n from '../../i18n'; const Overview = ({ + filter, namespace, + setFilter, techniques, + type, }) => -

{i18n.t(`${namespace}.heading`)}

+
+

{i18n.t(`${namespace}.heading`)}

+ {type === 'tech' ? + + : null} +
; Overview.propTypes = { + filter: PropTypes.shape({}), namespace: PropTypes.string, + setFilter: PropTypes.func, techniques: PropTypes.arrayOf(PropTypes.shape({ })), + type: PropTypes.string, }; export default withTranslation()(Overview);