import React from 'react'; import PropTypes from 'prop-types'; import { Link } from '@gatsbyjs/reach-router'; import { siteRoot, gettext } from '../../../utils/constants'; const propTypes = { currentItem: PropTypes.string.isRequired }; class Nav extends React.Component { constructor(props) { super(props); this.navItems = [ { name: 'all', urlPart: 'all-libraries', text: gettext('All') }, { name: 'wikis', urlPart: 'all-wikis', text: gettext('Wikis') }, { name: 'system', urlPart: 'system-library', text: gettext('System') }, { name: 'trash', urlPart: 'trash-libraries', text: gettext('Trash') } ]; } render() { const { currentItem } = this.props; return (
); } } Nav.propTypes = propTypes; export default Nav;