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

DefaultProps warning #1843

Open
kimkong88 opened this issue Jan 16, 2025 · 1 comment
Open

DefaultProps warning #1843

kimkong88 opened this issue Jan 16, 2025 · 1 comment

Comments

@kimkong88
Copy link

🐛 Bug Report

MeasureElement: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
in MeasureElement (created by MenuGroup)

To Reproduce

Simply use MenuGroup component.

Expected behavior

Should not show warning

Link to runnable example or repository (highly encouraged)

NA

UI Kitten and Eva version

Package Version
@eva-design/eva
@ui-kitten/components

Environment information

@adampax
Copy link

adampax commented Feb 4, 2025

Try this patch

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

2 participants