Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Some components throw Support for defaultProps will be removed from function components ... in React 18.3 / 19 #1486

Open
7 tasks
av-k opened this issue May 14, 2024 · 0 comments

Comments

@av-k
Copy link

av-k commented May 14, 2024

Warning text:

Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

The list of affected components to fix (probably not completed):

  • DiscreteColorLegendItem
  • HorizontalGridLines
  • VerticalGridLines
  • XAxis
  • YAxis
  • AxisLine
  • Voronoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant