mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-11 00:08:51 +08:00
Drawer redesign for 2.0. Changes: - changed the active state styling - colors are now theme based, not fixed - theme based roundness - removed the "color" prop - it can be now controller with the primaryColor (see [the expo app example](https://github.com/callstack/react-native-paper/pull/377/files#diff-cf8d6e3323746c5c486de08cb0c333c3R59)) - added snapshot tests <img width="248" alt="screen shot 2018-05-16 at 23 59 54" src="https://user-images.githubusercontent.com/7827311/40146708-e58bf92c-5966-11e8-8916-e76cb42e2f86.png"> <img width="248" alt="screen shot 2018-05-17 at 00 00 02" src="https://user-images.githubusercontent.com/7827311/40146727-f26662a4-5966-11e8-9cee-dc01e3cd5599.png"> Fixes #358. Snapshot tests added. Run `yarn test`.
Run the example
- View it with Expo
- Run the example locally
- Clone the repository and
cdto this directory - Run
yarnto install the dependencies - Run
yarn startto start the packager - Scan the QR Code with the Expo app
- Clone the repository and