add hyphen on drawerLockMode values

Summary: Closes https://github.com/facebook/react-native/pull/6396

Differential Revision: D3034612

Pulled By: nicklockwood

fb-gh-sync-id: cd20d405b7064e167b895411decedfae215f3b8b
shipit-source-id: cd20d405b7064e167b895411decedfae215f3b8b
This commit is contained in:
sunnylqm 2016-03-10 08:23:53 -08:00 committed by Facebook Github Bot 8
parent f21da3aa31
commit 20cd7ac339
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@ var DrawerLayoutAndroid = React.createClass({
/**
* Specifies the lock mode of the drawer. The drawer can be locked in 3 states:
* - unlocked (default), meaning that the drawer will respond (open/close) to touch gestures.
* - locked closed, meaning that the drawer will stay closed and not respond to gestures.
* - locked open, meaning that the drawer will stay opened and not respond to gestures.
* - locked-closed, meaning that the drawer will stay closed and not respond to gestures.
* - locked-open, meaning that the drawer will stay opened and not respond to gestures.
* The drawer may still be opened and closed programmatically (`openDrawer`/`closeDrawer`).
*/
drawerLockMode: ReactPropTypes.oneOf([