Add TODOs for react-router-dom migration

This commit is contained in:
Willian Mitsuda 2021-09-13 17:29:36 -03:00
parent 4cdd630d27
commit fd83de177a
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ type NavTabProps = {
href: string;
};
// TODO: migrate activeClassName because of: https://github.com/remix-run/react-router/releases/tag/v5.3.0
// TODO: @types/react-router-dom still doesn't support function in className
const NavTab: React.FC<NavTabProps> = ({ href, children }) => (
<Tab as={Fragment}>
<NavLink