react-speed-book icon indicating copy to clipboard operation
react-speed-book copied to clipboard

NavLink only handles children as text

Open manavsehgal opened this issue 9 years ago • 0 comments

NavLink propType for children is defined as text. Source here.

Solution. Change to propType node so NavLink can handle images as children for example.

Reproduce. Wrapping NavLink with image child or any other component will produce a browser console error.

manavsehgal avatar Sep 04 '16 05:09 manavsehgal