diff --git a/packages/drawer/README.md b/packages/drawer/README.md index c5308aa6..5d28fb7e 100644 --- a/packages/drawer/README.md +++ b/packages/drawer/README.md @@ -28,6 +28,13 @@ export default createDrawerNavigator({ }); ``` +## Development workflow + +- Clone this repository +- Run `yarn` in the root directory and in the `example` directory +- Run `yarn dev` in the root directory +- Run `yarn start` in the `example` directory + ## Docs Documentation can be found on the [React Navigation website](https://reactnavigation.org/docs/en/drawer-navigator.html). diff --git a/packages/drawer/example/README.md b/packages/drawer/example/README.md deleted file mode 100644 index 66e95589..00000000 --- a/packages/drawer/example/README.md +++ /dev/null @@ -1,8 +0,0 @@ -## Run the example - -- [View it with Expo](https://expo.io/@satya164/react-navigation-tabs-demos) -- Run the example locally - + Clone the repository and `cd` to this directory - + Run `yarn` to install the dependencies - + Run `yarn start` to start the packager - + Scan the QR Code with the Expo app diff --git a/packages/drawer/example/yarn.lock b/packages/drawer/example/yarn.lock index c8aa9e03..3f9ec0bf 100644 --- a/packages/drawer/example/yarn.lock +++ b/packages/drawer/example/yarn.lock @@ -3556,7 +3556,7 @@ lodash@^4.0.0, lodash@^4.16.6, lodash@^4.17.10, lodash@^4.17.4, lodash@^4.17.5, resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -4552,12 +4552,13 @@ prop-types@15.6.0, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.1, object-assign "^4.1.1" prop-types@^15.6.0: - version "15.6.2" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" - integrity sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ== + version "15.7.2" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" + integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== dependencies: - loose-envify "^1.3.1" + loose-envify "^1.4.0" object-assign "^4.1.1" + react-is "^16.8.1" pseudomap@^1.0.2: version "1.0.2" @@ -4629,6 +4630,11 @@ react-is@^16.5.2: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.7.0.tgz#c1bd21c64f1f1364c6f70695ec02d69392f41bfa" integrity sha512-Z0VRQdF4NPDoI0tsXVMLkJLiwEBa+RP66g0xDHxgxysxSoCUccSten4RTF/UFvZF1dZvZ9Zu1sx+MDXwcOR34g== +react-is@^16.8.1: + version "16.8.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.1.tgz#a80141e246eb894824fb4f2901c0c50ef31d4cdb" + integrity sha512-ioMCzVDWvCvKD8eeT+iukyWrBGrA3DiFYkXfBsVYIRdaREZuBjENG+KjrikavCLasozqRWTwFUagU/O4vPpRMA== + react-lifecycles-compat@3.0.4, react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"