This is a polyfill for React Natives DrawerLayoutAndroid
, please refer to this documentation for the usage.
- Run
npm install react-native-drawer-layout-polyfill --save
- Import the component by using one of these:
var DrawerLayout = require('react-native-drawer-layout-polyfill');
import DrawerLayout from 'react-native-drawer-layout-polyfill';
- Follow the DrawerLayoutAndroid docs -- the API is the same.
- Currently, there is no support for setting the status bar color in iOS. If you know any workaround, we would be glad to see an idea or a PR.
If you experience any further restrictions with other versions, please let us know.
- Update
react-native-drawer-layout
to version 2.0, support for only for RN >= 0.35
- Moved from
react-native-drawer-layout