iou90 / react-native-autoheight-webview

An auto height webview for React Native
ISC License
492 stars 162 forks source link

fix: default props to new way to not throw warning #264

Open yr-samuel opened 2 months ago

yr-samuel commented 2 months ago

Make a modern way to pass defaultProps to component props to avoid throw warning.

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

antwanvdm commented 2 months ago

Nice work! Can't wait for this to be released :)