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 коммит произвёл Facebook Github Bot 8
Родитель f21da3aa31
Коммит 20cd7ac339
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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([