react-native-ui-lib
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.
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
Environment
- React Native version: 0.74.5
- React Native UI Lib version: 7.32.0
Affected platforms
- [✔️] Android
- [✔️] iOS
- [✔️] Web
Experiencing the same issue.
<Dialog visible={true} />
This is not completed @ethanshar