mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 13:03:08 +08:00
Summary: The `ToastAndroid` module already exists in react native. In its current form, the tutorial will cause an error, as then there would be two `ToastAndroid`s. This PR addresses that by naming the new module `ToastExample`. Tested this by running the doc website with my changes, here's a clip  The production site with the old doc has 14 `ToastAndroid`s, with one referring to the real module doc  This PR now as 13 `ToastExample` references, one less because the `ToastAndroid` module is still on the left-side doc, as it should be.  Closes https://github.com/facebook/react-native/pull/15238 Differential Revision: D5509726 Pulled By: hramos fbshipit-source-id: 33231529d1d83813960e8237ce75910b32024396