//@flow import React from "react"; import { Route, Link } from "react-router-dom"; type Props = { to: string, activeOnlyWhenExact?: boolean, children?: React.Node }; class PrimaryNavigationLink extends React.Component { renderLink = (route: any) => { const { to, children } = this.props; return (
  • {children}
  • ); }; render() { const { to, activeOnlyWhenExact } = this.props; return ( ); } } export default PrimaryNavigationLink;