react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

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

Open SupriyaPKalghatgi opened this issue 9 months ago • 10 comments

Description

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

Related to

  • [ ] Components

More Info

Screenshots/Video

image

Environment

  • React Native version: 0.74.1
  • React Native UI Lib version: 7.21.2
  • Expo version: 51.0.0

Affected platforms

  • [ ] Android
  • [ ] iOS

SupriyaPKalghatgi avatar May 09 '24 06:05 SupriyaPKalghatgi

Same warning for me

Eliost avatar May 16 '24 08:05 Eliost

same

ronnioliveira avatar May 17 '24 17:05 ronnioliveira

here too

SwanHub avatar May 21 '24 20:05 SwanHub

image same too

thanhmati avatar May 22 '24 09:05 thanhmati

same too

Arnoldnuo avatar May 31 '24 00:05 Arnoldnuo

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!

alexattt avatar Jun 06 '24 19:06 alexattt

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 avatar Jun 29 '24 03:06 crazyshakalaka

I can bring up a PR myself to fix this

crazyshakalaka avatar Jun 29 '24 03:06 crazyshakalaka

when i use picker same

hcweb avatar Jul 26 '24 16:07 hcweb

#3285

adids1221 avatar Oct 14 '24 14:10 adids1221