-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Describe the bug
The following warning appears in the console when using SlidingSidePanel:
SlidingPanel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
To Reproduce
AFAIK, this is common across any use of the tool.
Expected behavior
The use of defaultProps in src/index.tsx needs to be replaced with default parameters, instead.
Screenshots
n/a
Desktop (please complete the following information):
n/a -- this is a React compatibility issue
Smartphone (please complete the following information):
n/a -- this is a React compatibility issue
Additional context
none
I will open a PR for this shortly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels