import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import React from 'react'; import { NavLink } from 'react-router-dom'; export default ({ icon, name, to, }) => (
  • {icon == null ? '' : }   {name}
  • );