import { NavLink as Link } from "react-router-dom" export const NavLink = ({ to, children }) => ( isActive || isPending ? "selected" : "" } > {children} )