-
Couldn't load subscription status.
- Fork 401
Closed
Description
Support for defaultProps deprecated warning.
Warning: Overlay: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at Overlay (webpack-internal:///(app-client)/./node_modules/react-bootstrap-typeahead/es/components/Overlay/Overlay.js:52:31)
at div
at RootClose (webpack-internal:///(app-client)/./node_modules/react-bootstrap-typeahead/es/components/RootClose/RootClose.js:9:23)
at TypeaheadManager (webpack-internal:///(app-client)/./node_modules/react-bootstrap-typeahead/es/core/TypeaheadManager.js:21:24)
at Typeahead (webpack-internal:///(app-client)/./node_modules/react-bootstrap-typeahead/es/core/Typeahead.js:238:86)
It would be possible to fix this in https://github.com/ericgio/react-bootstrap-typeahead/blob/main/src/components/Overlay/Overlay.tsx#L67 please?
Version
6.1.2
Steps to reproduce
Expected Behavior
No warning should be raised
Actual Behavior
A warning is raised
SachaG and mmomtchev
Metadata
Metadata
Assignees
Labels
No labels