react-bootstrap / react-router-bootstrap

Integration between React Router and React-Bootstrap
Apache License 2.0
1.69k stars 158 forks source link

Fix #317: Remove defaultProps from LinkContainer #318

Closed reinard closed 5 months ago

reinard commented 5 months ago

This fixes the following console error that can be seen when using LinkContainer:

LinkContainer: Support for defaultProps will be removed from function components in a future major release.
Use JavaScript default parameters instead.
kyletsang commented 5 months ago

Thanks