react-native-drawer-layout@4.0.0-alpha.0
Pre-release
Pre-release
satya164
released this
07 Sep 10:25
·
165 commits
to main
since this release
4.0.0-alpha.0 (2023-09-07)
- feat!: add a direction prop to NavigationContainer to specify rtl (#11393) (8309636), closes #11393 - by @satya164
BREAKING CHANGES
- Previously the navigators tried to detect RTL automatically and adjust the UI. However this is problematic since we cannot detect RTL in all cases (e.g. on Web).
This adds an optional direction
prop to NavigationContainer
instead so that user can specify when React Navigation's UI needs to be adjusted for RTL. It defaults to the value from I18nManager
on native platforms, however it needs to be explicitly passed for Web.