wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.29k stars 695 forks source link

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

Open SupriyaPKalghatgi opened 1 month ago

SupriyaPKalghatgi commented 1 month ago

Description

Upgrading to latest of react native and expo, I get this with RNUI ActionSheet

Related to

More Info

Screenshots/Video

image

Environment

Affected platforms

Eliost commented 1 month ago

Same warning for me

ronnioliveira commented 1 month ago

same

SwanHub commented 1 month ago

here too

thanhmati commented 1 month ago

image same too

Arnoldnuo commented 1 month ago

same too

alexattt commented 3 weeks ago

same warning, after updating expo sdk and react native. for now, I see it when using Dash component, which uses defaultProps. hope this will be resolved soon!

crazyshakalaka commented 4 days ago

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

me tooooo

I hope to solve this problem as soon as possible

crazyshakalaka commented 4 days ago

I can bring up a PR myself to fix this