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

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

Open aklkbqx opened this issue 1 year ago • 1 comments

Description

I ran into a problem. Warning: IGNORE: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. To use Dialog

Related to

  • [✔️] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Steps to reproduce

Expected behavior

Actual behavior

More Info

Code snippet

<Dialog
visible={dialoglVisible}
        panDirection={PanningProvider.Directions.DOWN}
        onDismiss={() => setDialoglVisible(false)}
        containerStyle={{}}
        overlayBackgroundColor="rgba(0, 0, 0, 0.5)"
        width="100%"
        height={null}
        useSafeArea={true}
        ignoreBackgroundPress={false}
      >

Screenshots/Video

Screenshot 2567-10-01 at 18 47 04

Environment

  • React Native version: 0.74.5
  • React Native UI Lib version: 7.32.0

Affected platforms

  • [✔️] Android
  • [✔️] iOS
  • [✔️] Web

aklkbqx avatar Oct 01 '24 11:10 aklkbqx

Experiencing the same issue.

<Dialog visible={true} />

emiliogaines avatar Oct 01 '24 13:10 emiliogaines

This is not completed @ethanshar

iSued avatar Jan 17 '25 13:01 iSued