mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
DrawerLayoutAndroid drawerPosition now expects a string, number is deprecated
Summary: The native change to support strings was made in D15912607 on June 21st. Migrating the JS callsites now to start passing strings instead of the constants. Reviewed By: zackargyle, mdvacca Differential Revision: D16703569 fbshipit-source-id: cb1d8698df55d2961cde1e2b1fbfcba086a03bb2
This commit is contained in:
committed by
Facebook Github Bot
parent
0dcd57c73c
commit
305b0a2814
@@ -60,7 +60,7 @@ type NativeProps = $ReadOnly<{|
|
||||
/**
|
||||
* Specifies the side of the screen from which the drawer will slide in.
|
||||
*/
|
||||
drawerPosition: ?Int32,
|
||||
drawerPosition?: WithDefault<'left' | 'right', 'left'>,
|
||||
|
||||
/**
|
||||
* Specifies the width of the drawer, more precisely the width of the view that be pulled in
|
||||
|
||||
Reference in New Issue
Block a user