mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1d0b397485
Summary: Previously DrawerLayoutAndroid required taking an int as the drawerPosition. This required a complex dance of pulling these constant values off of the native view config. As we are going to stop sending view configs from native and instead hardcode them in JS we can't do that anymore. In this commit we are supporting the old style as well as the new style. The old way of specifying the sizes will go away in a future release. Changelog: [Android][Added] - DrawerLayoutAndroid now supports strings and not just numbers for drawerPosition. Reviewed By: mdvacca Differential Revision: D15912607 fbshipit-source-id: b444454a1e74f8f659995b9ebe5e164ac9660138