Open sammy2077 opened 4 years ago
When i pass a component as a tag to supported element like Nav
Nav
import { Link } from 'react-router-dom'; <NavbarBrand tag={Link} to="/"> Agweria </NavbarBrand>
I get the error : Failed prop type: Invalid prop tag supplied to NavbarBrand See console error
tag
NavbarBrand
Though it works fine even in the above case, is there a way to get rid of the console error.
See . https://github.com/facebook/prop-types/pull/211
I am also experiencing this problem, which happened when I upgraded React-router-dom to the latest version 5.1.2.
Anything updates on this? @design-revision
When i pass a component as a tag to supported element like
Nav
I get the error : Failed prop type: Invalid prop
tag
supplied toNavbarBrand
See console errorThough it works fine even in the above case, is there a way to get rid of the console error.
See . https://github.com/facebook/prop-types/pull/211