react-native-navigation
react-native-navigation copied to clipboard
OptionsStatusBar typed incorrectly
🐛 Bug Report
OptionsStatusBar
seems to be typed incorrectly. The docs state that passing animate
will change the status bar animation setting, which it does. However, TypeScript complains stating that I should be passing animated
instead, but doing so has no effect.
I believe this was introduced as part of: https://github.com/wix/react-native-navigation/pull/6685
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Pass animate: false
to statusBar
as defined in the docs when using TypeScript
Expected behavior
TypeScript should not complain and the functionality should work
Actual Behavior
TypeScript complains and the functionality works
Your Environment
- React Native Navigation version: 7.26.0
- React Native version: 0.68.1
- Platform(s) (iOS, Android, or both?): iOS
- Device info (Simulator/Device? OS version? Debug/Release?): n/a
Reproducible Demo
n/a
Are you willing to resolve this issue by submitting a Pull Request?
- ✅ Yes, I have the time, and I know how to start.