import React from 'react'; import PropTypes from 'prop-types'; import { Navbar } from 'react-bootstrap'; import { Link } from 'react-router-dom'; import PublicNavigation from '../PublicNavigation/PublicNavigation'; import AuthenticatedNavigation from '../AuthenticatedNavigation/AuthenticatedNavigation'; import { translate } from 'react-i18next'; import './Navigation.scss'; const Navigation = props => ( {/* https://github.com/react-bootstrap/react-bootstrap/blob/master/src/Navbar.js */} {props.t('Inicio')} {/* */} {!props.authenticated ? : } ); Navigation.defaultProps = { name: '', }; Navigation.propTypes = { authenticated: PropTypes.bool.isRequired, }; // export default Navigation; export default translate([], { wait: true })(Navigation);