Fix React Native docs

Summary: Reckon this broke with the Docusaurus 2 upgrade.

Reviewed By: mweststrate

Differential Revision: D24537442

fbshipit-source-id: b3fbac990f82819941e17f0f7ce89df616aa6718
This commit is contained in:
Pascal Hartig
2020-10-29 05:56:25 -07:00
committed by Facebook GitHub Bot
parent 835f4064e1
commit d765e0f93e

View File

@@ -47,15 +47,18 @@ One of the greatest values of Flipper is its extensibility. Many teams across Fa
Writing plugins for Flipper doesn't require any native code, as the Flipper SDK is exposed directly to JavaScript through the [react-native-flipper](https://www.npmjs.com/package/react-native-flipper) package. Writing plugins for Flipper doesn't require any native code, as the Flipper SDK is exposed directly to JavaScript through the [react-native-flipper](https://www.npmjs.com/package/react-native-flipper) package.
<img alt="Tic Tac Toe example plugin" src={useBaseUrl("img/react-native-tictactoe.png")} /> <img alt="Tic Tac Toe example plugin" src={useBaseUrl("img/react-native-tictactoe.png")} />
_Example Flipper plugin: playing a game of Tic Tac Toe using Flipper and some emulators_ _Example Flipper plugin: playing a game of Tic Tac Toe using Flipper and some emulators_
If you would love to build a specific (or generic) extension for Flipper check out the following pointers! Plugins for Flipper can be distributed through NPM so sharing them is trivial. If you would love to build a specific (or generic) extension for Flipper check out the following pointers! Plugins for Flipper can be distributed through NPM so sharing them is trivial.
→ Creating a React Native Flipper Plugin https://fbflipper.com/docs/tutorial/react-native * <Link to={useBaseUrl("/docs/tutorial/react-native")}>Creating a React Native Flipper Plugin</Link>
→ Create a Flipper Desktop Plugin https://fbflipper.com/docs/tutorial/js-setup * <Link to={useBaseUrl("/docs/tutorial/js-setup")}>Create a Flipper Desktop Plugin</Link>
### Community React Native plugins for Flipper ### Community React Native plugins for Flipper
The React Native community has also started to build plugins for Flipper. The React Native community has also started to build plugins for Flipper.
* [Reactotron's](https://infinite.red/reactotron) [Flipper plugin](https://github.com/infinitered/flipper-plugin-reactotron) is an example of a standalone React Native desktop app, [ported to work as a Flipper plugin](https://shift.infinite.red/better-react-native-debugging-with-reactotron-in-flipper-6b823af29220). * [Reactotron's](https://infinite.red/reactotron) [Flipper plugin](https://github.com/infinitered/flipper-plugin-reactotron) is an example of a standalone React Native desktop app, [ported to work as a Flipper plugin](https://shift.infinite.red/better-react-native-debugging-with-reactotron-in-flipper-6b823af29220).
*Got your own Flipper plugin for React Native you want to plug here? Please sent us a [Pull Request](https://github.com/facebook/flipper/blob/master/docs/features/react-native.mdx)!*